properly export/import accent color
This commit is contained in:
parent
5eb708c920
commit
a50d712e13
|
@ -653,6 +653,7 @@ class SettingsActivity : SimpleActivity() {
|
|||
put(TEXT_COLOR, config.textColor)
|
||||
put(BACKGROUND_COLOR, config.backgroundColor)
|
||||
put(PRIMARY_COLOR, config.primaryColor)
|
||||
put(ACCENT_COLOR, config.accentColor)
|
||||
put(APP_ICON_COLOR, config.appIconColor)
|
||||
put(USE_ENGLISH, config.useEnglish)
|
||||
put(WAS_USE_ENGLISH_TOGGLED, config.wasUseEnglishToggled)
|
||||
|
@ -742,6 +743,7 @@ class SettingsActivity : SimpleActivity() {
|
|||
TEXT_COLOR -> config.textColor = value.toInt()
|
||||
BACKGROUND_COLOR -> config.backgroundColor = value.toInt()
|
||||
PRIMARY_COLOR -> config.primaryColor = value.toInt()
|
||||
ACCENT_COLOR -> config.accentColor = value.toInt()
|
||||
APP_ICON_COLOR -> {
|
||||
if (getAppIconColors().contains(value.toInt())) {
|
||||
config.appIconColor = value.toInt()
|
||||
|
|
Loading…
Reference in New Issue