Remove autoAddTrack preference

This commit is contained in:
arkon
2021-07-18 15:00:07 -04:00
parent fcd6fe5d8a
commit dce3049446
6 changed files with 3 additions and 16 deletions

View File

@@ -99,8 +99,6 @@ object PreferenceKeys {
const val autoUpdateTrack = "pref_auto_update_manga_sync_key"
const val autoAddTrack = "pref_auto_add_track_key"
const val lastUsedSource = "last_catalogue_source"
const val lastUsedCategory = "last_used_category"

View File

@@ -177,8 +177,6 @@ class PreferencesHelper(val context: Context) {
fun autoUpdateTrack() = prefs.getBoolean(Keys.autoUpdateTrack, true)
fun autoAddTrack() = prefs.getBoolean(Keys.autoAddTrack, true)
fun lastUsedSource() = flowPrefs.getLong(Keys.lastUsedSource, -1)
fun lastUsedCategory() = flowPrefs.getInt(Keys.lastUsedCategory, 0)