From a7746b0d3899a845b5513b010a763d8b810a2efc Mon Sep 17 00:00:00 2001 From: tibbi Date: Sat, 23 Jan 2021 22:35:44 +0100 Subject: [PATCH] properly export/import the Highlight Weekends setting --- .../calendar/pro/activities/SettingsActivity.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/pro/activities/SettingsActivity.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/pro/activities/SettingsActivity.kt index cc3898695..cc3887b19 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/pro/activities/SettingsActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/pro/activities/SettingsActivity.kt @@ -684,6 +684,7 @@ class SettingsActivity : SimpleActivity() { put(SNOOZE_TIME, config.snoozeTime) put(USE_24_HOUR_FORMAT, config.use24HourFormat) put(SUNDAY_FIRST, config.isSundayFirst) + put(HIGHLIGHT_WEEKENDS, config.highlightWeekends) } exportSettings(configItems) @@ -777,6 +778,7 @@ class SettingsActivity : SimpleActivity() { SNOOZE_TIME -> config.snoozeTime = value.toInt() USE_24_HOUR_FORMAT -> config.use24HourFormat = value.toBoolean() SUNDAY_FIRST -> config.isSundayFirst = value.toBoolean() + HIGHLIGHT_WEEKENDS -> config.highlightWeekends = value.toBoolean() } }