Persist archived and blocked state across sync

This commit is contained in:
Moez Bhatti
2018-03-26 01:49:21 -04:00
parent bdda585dde
commit 38ea0f8a78
2 changed files with 36 additions and 5 deletions
@@ -19,6 +19,7 @@
package injection
import android.app.Application
import android.content.ContentResolver
import android.content.Context
import android.preference.PreferenceManager
import com.f2prateek.rx.preferences2.RxSharedPreferences
@@ -61,6 +62,11 @@ class AppModule(private var application: Application) {
return application
}
@Provides
fun provideContentResolver(context: Context): ContentResolver {
return context.contentResolver
}
@Provides
@Singleton
fun provideRxPreferences(context: Context): RxSharedPreferences {