mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-05-18 07:53:07 +00:00
Add string resource for night mode pref (#105)
This commit is contained in:
parent
9713c4a25a
commit
15dc59539a
3 changed files with 3 additions and 2 deletions
|
@ -248,7 +248,6 @@ class AppearanceSettingsFragment : SubScreenFragment(), Preference.OnPreferenceC
|
|||
}
|
||||
customThemeVariantNightPref = preferenceScreen.findPreference(Settings.PREF_CUSTOM_THEME_VARIANT_NIGHT) as ListPreference
|
||||
customThemeVariantNightPref.apply {
|
||||
title = "$title (night)" // todo: string resource
|
||||
onPreferenceChangeListener = Preference.OnPreferenceChangeListener { _, value ->
|
||||
// not so nice workaround, could be removed in the necessary re-work: new value seems
|
||||
// to be stored only after this method call, but we update the summary and user-defined color enablement in here -> store it now
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue