fixed missing GifShareProvider

This commit is contained in:
Mariotaku Lee 2017-03-29 15:25:27 +08:00
parent 9ef719066b
commit a94f9bbfa6
No known key found for this signature in database
GPG Key ID: 15C10F89D7C33535
1 changed files with 7 additions and 0 deletions

View File

@ -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 {