Remove ability to set in-app language differently from system's

This commit is contained in:
arkon
2021-08-06 16:45:40 -04:00
parent 664e5cfb59
commit 03980b2f27
8 changed files with 18 additions and 167 deletions

View File

@@ -178,8 +178,6 @@ object PreferenceKeys {
const val libraryDisplayMode = "pref_display_mode_library"
const val lang = "app_language"
const val dateFormat = "app_date_format"
const val defaultCategory = "default_category"

View File

@@ -280,8 +280,6 @@ class PreferencesHelper(val context: Context) {
fun downloadNewCategories() = flowPrefs.getStringSet(Keys.downloadNewCategories, emptySet())
fun downloadNewCategoriesExclude() = flowPrefs.getStringSet(Keys.downloadNewCategoriesExclude, emptySet())
fun lang() = flowPrefs.getString(Keys.lang, "")
fun defaultCategory() = prefs.getInt(Keys.defaultCategory, -1)
fun categorisedDisplaySettings() = flowPrefs.getBoolean(Keys.categorizedDisplay, false)