mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-06-05 21:59:17 +02:00
properly export/import accent color
This commit is contained in:
@@ -653,6 +653,7 @@ class SettingsActivity : SimpleActivity() {
|
|||||||
put(TEXT_COLOR, config.textColor)
|
put(TEXT_COLOR, config.textColor)
|
||||||
put(BACKGROUND_COLOR, config.backgroundColor)
|
put(BACKGROUND_COLOR, config.backgroundColor)
|
||||||
put(PRIMARY_COLOR, config.primaryColor)
|
put(PRIMARY_COLOR, config.primaryColor)
|
||||||
|
put(ACCENT_COLOR, config.accentColor)
|
||||||
put(APP_ICON_COLOR, config.appIconColor)
|
put(APP_ICON_COLOR, config.appIconColor)
|
||||||
put(USE_ENGLISH, config.useEnglish)
|
put(USE_ENGLISH, config.useEnglish)
|
||||||
put(WAS_USE_ENGLISH_TOGGLED, config.wasUseEnglishToggled)
|
put(WAS_USE_ENGLISH_TOGGLED, config.wasUseEnglishToggled)
|
||||||
@@ -742,6 +743,7 @@ class SettingsActivity : SimpleActivity() {
|
|||||||
TEXT_COLOR -> config.textColor = value.toInt()
|
TEXT_COLOR -> config.textColor = value.toInt()
|
||||||
BACKGROUND_COLOR -> config.backgroundColor = value.toInt()
|
BACKGROUND_COLOR -> config.backgroundColor = value.toInt()
|
||||||
PRIMARY_COLOR -> config.primaryColor = value.toInt()
|
PRIMARY_COLOR -> config.primaryColor = value.toInt()
|
||||||
|
ACCENT_COLOR -> config.accentColor = value.toInt()
|
||||||
APP_ICON_COLOR -> {
|
APP_ICON_COLOR -> {
|
||||||
if (getAppIconColors().contains(value.toInt())) {
|
if (getAppIconColors().contains(value.toInt())) {
|
||||||
config.appIconColor = value.toInt()
|
config.appIconColor = value.toInt()
|
||||||
|
Reference in New Issue
Block a user