mirror of
https://github.com/SimpleMobileTools/Simple-Clock.git
synced 2025-06-05 22:19:17 +02:00
add a toggle for displaying other timezones in the first tab
This commit is contained in:
@ -11,4 +11,8 @@ class Config(context: Context) : BaseConfig(context) {
|
||||
var showSeconds: Boolean
|
||||
get() = prefs.getBoolean(SHOW_SECONDS, true)
|
||||
set(showSeconds) = prefs.edit().putBoolean(SHOW_SECONDS, showSeconds).apply()
|
||||
|
||||
var displayOtherTimeZones: Boolean
|
||||
get() = prefs.getBoolean(DISPLAY_OTHER_TIME_ZONES, false)
|
||||
set(displayOtherTimeZones) = prefs.edit().putBoolean(DISPLAY_OTHER_TIME_ZONES, displayOtherTimeZones).apply()
|
||||
}
|
||||
|
Reference in New Issue
Block a user