forked from upstream-mirrors/quik
Persist archived and blocked state across sync
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user