Implements delete chapter when set as read for issue #42
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user