Commit e118fb44 authored by Filipe de Lima Brito's avatar Filipe de Lima Brito

Init AndroidThreeTen library.

parent 260da3a8
...@@ -6,6 +6,7 @@ import chat.rocket.android.BuildConfig ...@@ -6,6 +6,7 @@ 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 com.facebook.drawee.backends.pipeline.Fresco
import com.jakewharton.threetenabp.AndroidThreeTen
import dagger.android.AndroidInjector import dagger.android.AndroidInjector
import dagger.android.DispatchingAndroidInjector import dagger.android.DispatchingAndroidInjector
import dagger.android.HasActivityInjector import dagger.android.HasActivityInjector
...@@ -26,6 +27,7 @@ class RocketChatApplication : Application(), HasActivityInjector { ...@@ -26,6 +27,7 @@ class RocketChatApplication : Application(), HasActivityInjector {
Fresco.initialize(this) Fresco.initialize(this)
AndroidThreeTen.init(this)
setupTimber() setupTimber()
} }
...@@ -38,4 +40,4 @@ class RocketChatApplication : Application(), HasActivityInjector { ...@@ -38,4 +40,4 @@ class RocketChatApplication : Application(), HasActivityInjector {
override fun activityInjector(): AndroidInjector<Activity> { override fun activityInjector(): AndroidInjector<Activity> {
return activityInjector return activityInjector
} }
} }
\ No newline at end of file
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