properly export/import the Highlight Weekends setting
This commit is contained in:
parent
1eee7dab22
commit
a7746b0d38
|
@ -684,6 +684,7 @@ class SettingsActivity : SimpleActivity() {
|
||||||
put(SNOOZE_TIME, config.snoozeTime)
|
put(SNOOZE_TIME, config.snoozeTime)
|
||||||
put(USE_24_HOUR_FORMAT, config.use24HourFormat)
|
put(USE_24_HOUR_FORMAT, config.use24HourFormat)
|
||||||
put(SUNDAY_FIRST, config.isSundayFirst)
|
put(SUNDAY_FIRST, config.isSundayFirst)
|
||||||
|
put(HIGHLIGHT_WEEKENDS, config.highlightWeekends)
|
||||||
}
|
}
|
||||||
|
|
||||||
exportSettings(configItems)
|
exportSettings(configItems)
|
||||||
|
@ -777,6 +778,7 @@ class SettingsActivity : SimpleActivity() {
|
||||||
SNOOZE_TIME -> config.snoozeTime = value.toInt()
|
SNOOZE_TIME -> config.snoozeTime = value.toInt()
|
||||||
USE_24_HOUR_FORMAT -> config.use24HourFormat = value.toBoolean()
|
USE_24_HOUR_FORMAT -> config.use24HourFormat = value.toBoolean()
|
||||||
SUNDAY_FIRST -> config.isSundayFirst = value.toBoolean()
|
SUNDAY_FIRST -> config.isSundayFirst = value.toBoolean()
|
||||||
|
HIGHLIGHT_WEEKENDS -> config.highlightWeekends = value.toBoolean()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue