Commit 99de9a7f authored by Filipe de Lima Brito's avatar Filipe de Lima Brito

Initialize Fresco

parent 8b9fdb2d
...@@ -5,6 +5,7 @@ import android.app.Application ...@@ -5,6 +5,7 @@ import android.app.Application
import chat.rocket.android.BuildConfig import chat.rocket.android.BuildConfig
import chat.rocket.android.dagger.DaggerApplicationComponent import chat.rocket.android.dagger.DaggerApplicationComponent
import com.facebook.drawee.backends.pipeline.Fresco
import dagger.android.AndroidInjector import dagger.android.AndroidInjector
import dagger.android.DispatchingAndroidInjector import dagger.android.DispatchingAndroidInjector
import dagger.android.HasActivityInjector import dagger.android.HasActivityInjector
...@@ -23,6 +24,8 @@ class RocketChatApplication : Application(), HasActivityInjector { ...@@ -23,6 +24,8 @@ class RocketChatApplication : Application(), HasActivityInjector {
.build() .build()
.inject(this) .inject(this)
Fresco.initialize(this)
setupTimber() setupTimber()
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment