fixed missing GifShareProvider
This commit is contained in:
parent
9ef719066b
commit
a94f9bbfa6
|
@ -54,6 +54,7 @@ import org.mariotaku.twidere.model.DefaultFeatures
|
|||
import org.mariotaku.twidere.util.*
|
||||
import org.mariotaku.twidere.util.cache.DiskLRUFileCache
|
||||
import org.mariotaku.twidere.util.cache.JsonCache
|
||||
import org.mariotaku.twidere.util.gifshare.GifShareProvider
|
||||
import org.mariotaku.twidere.util.media.MediaPreloader
|
||||
import org.mariotaku.twidere.util.media.ThumborWrapper
|
||||
import org.mariotaku.twidere.util.media.TwidereMediaDownloader
|
||||
|
@ -261,6 +262,12 @@ class ApplicationModule(private val application: Application) {
|
|||
return StatusScheduleProvider.Factory.instance
|
||||
}
|
||||
|
||||
@Provides
|
||||
@Singleton
|
||||
fun gifShareProviderFactory(): GifShareProvider.Factory {
|
||||
return GifShareProvider.Factory.instance
|
||||
}
|
||||
|
||||
@Provides
|
||||
@Singleton
|
||||
fun syncPreferences(): SyncPreferences {
|
||||
|
|
Loading…
Reference in New Issue