0
0
Fork 0
mirror of https://github.com/YTVanced/VancedManager synced 2024-11-23 19:55:11 +00:00

fixed accent switch

This commit is contained in:
X1nto 2020-05-04 02:00:51 +04:00
parent aeda3861ef
commit 7d8e6c0939

View file

@ -59,7 +59,7 @@ class SettingsFragment : PreferenceFragmentCompat() {
true true
} }
val accentSwitch: ListPreference? = findPreference("accent_color") val accentSwitch: ListPreference? = findPreference("accent_mode")
accentSwitch?.setOnPreferenceChangeListener { _, _ -> accentSwitch?.setOnPreferenceChangeListener { _, _ ->
when (accentSwitch.value) { when (accentSwitch.value) {
"Blue" -> { "Blue" -> {