Implements delete chapter when set as read for issue #42

This commit is contained in:
NoodleMage
2016-03-21 21:06:20 +01:00
parent abbc7b572a
commit 499c2213ee
8 changed files with 39 additions and 14 deletions

View File

@@ -190,6 +190,10 @@ class PreferencesHelper(private val context: Context) {
return prefs.getBoolean(getKey(R.string.pref_download_only_over_wifi_key), true)
}
fun removeAfterMarkedAsRead(): Boolean {
return prefs.getBoolean(getKey(R.string.pref_remove_after_marked_as_read_key), false)
}
fun libraryUpdateInterval(): Preference<Int> {
return rxPrefs.getInteger(getKey(R.string.pref_library_update_interval_key), 0)
}