mirror of
https://github.com/SimpleMobileTools/Simple-Clock.git
synced 2025-06-05 22:19:17 +02:00
set the timer to 5 minutes by default
This commit is contained in:
@ -23,4 +23,8 @@ class Config(context: Context) : BaseConfig(context) {
|
||||
var editedTimeZoneTitles: Set<String>
|
||||
get() = prefs.getStringSet(EDITED_TIME_ZONE_TITLES, HashSet())
|
||||
set(editedTimeZoneTitles) = prefs.edit().putStringSet(EDITED_TIME_ZONE_TITLES, editedTimeZoneTitles).apply()
|
||||
|
||||
var lastTimerSeconds: Int
|
||||
get() = prefs.getInt(LAST_TIMER_SECONDS, 300)
|
||||
set(lastTimerSeconds) = prefs.edit().putInt(LAST_TIMER_SECONDS, lastTimerSeconds).apply()
|
||||
}
|
||||
|
Reference in New Issue
Block a user