mirror of
https://github.com/mihonapp/mihon.git
synced 2025-11-12 03:58:56 +01:00
Minor system theme tweaks
This commit is contained in:
@@ -6,14 +6,11 @@ package eu.kanade.tachiyomi.data.preference
|
||||
object PreferenceValues {
|
||||
|
||||
const val THEME_MODE_LIGHT = "light"
|
||||
|
||||
const val THEME_MODE_DARK = "dark"
|
||||
|
||||
const val THEME_MODE_SYSTEM = "system"
|
||||
|
||||
const val THEME_DARK_DEFAULT = "default"
|
||||
|
||||
const val THEME_DARK_BLUE = "blue"
|
||||
const val THEME_DARK_AMOLED = "amoled"
|
||||
|
||||
const val THEME_DARK_BLUE = "blue"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -54,7 +54,7 @@ class PreferencesHelper(val context: Context) {
|
||||
|
||||
fun clear() = prefs.edit().clear().apply()
|
||||
|
||||
fun themeMode() = prefs.getString(Keys.themeMode, Values.THEME_MODE_LIGHT)
|
||||
fun themeMode() = rxPrefs.getString(Keys.themeMode, Values.THEME_MODE_LIGHT)
|
||||
|
||||
fun themeDark() = prefs.getString(Keys.themeDark, Values.THEME_DARK_DEFAULT)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user