Merge pull request #2094 from Aga-C/add-missing-settings
Added missing settings in backup
This commit is contained in:
commit
82c947543c
1 changed files with 6 additions and 0 deletions
|
@ -891,6 +891,9 @@ class SettingsActivity : SimpleActivity() {
|
|||
put(WIDGET_TEXT_COLOR, config.widgetTextColor)
|
||||
put(WEEK_NUMBERS, config.showWeekNumbers)
|
||||
put(START_WEEKLY_AT, config.startWeeklyAt)
|
||||
put(SHOW_MIDNIGHT_SPANNING_EVENTS_AT_TOP, config.showMidnightSpanningEventsAtTop)
|
||||
put(ALLOW_CUSTOMIZE_DAY_COUNT, config.allowCustomizeDayCount)
|
||||
put(START_WEEK_WITH_CURRENT_DAY, config.startWeekWithCurrentDay)
|
||||
put(VIBRATE, config.vibrateOnReminder)
|
||||
put(LAST_EVENT_REMINDER_MINUTES, config.lastEventReminderMinutes1)
|
||||
put(LAST_EVENT_REMINDER_MINUTES_2, config.lastEventReminderMinutes2)
|
||||
|
@ -997,6 +1000,9 @@ class SettingsActivity : SimpleActivity() {
|
|||
WIDGET_TEXT_COLOR -> config.widgetTextColor = value.toInt()
|
||||
WEEK_NUMBERS -> config.showWeekNumbers = value.toBoolean()
|
||||
START_WEEKLY_AT -> config.startWeeklyAt = value.toInt()
|
||||
SHOW_MIDNIGHT_SPANNING_EVENTS_AT_TOP -> config.showMidnightSpanningEventsAtTop = value.toBoolean()
|
||||
ALLOW_CUSTOMIZE_DAY_COUNT -> config.allowCustomizeDayCount = value.toBoolean()
|
||||
START_WEEK_WITH_CURRENT_DAY -> config.startWeekWithCurrentDay = value.toBoolean()
|
||||
VIBRATE -> config.vibrateOnReminder = value.toBoolean()
|
||||
LAST_EVENT_REMINDER_MINUTES -> config.lastEventReminderMinutes1 = value.toInt()
|
||||
LAST_EVENT_REMINDER_MINUTES_2 -> config.lastEventReminderMinutes2 = value.toInt()
|
||||
|
|
Loading…
Reference in a new issue