mirror of
https://github.com/SimpleMobileTools/Simple-Clock.git
synced 2025-06-05 22:19:17 +02:00
add a dialog for selecting extra timezones
This commit is contained in:
@ -15,4 +15,8 @@ class Config(context: Context) : BaseConfig(context) {
|
||||
var displayOtherTimeZones: Boolean
|
||||
get() = prefs.getBoolean(DISPLAY_OTHER_TIME_ZONES, false)
|
||||
set(displayOtherTimeZones) = prefs.edit().putBoolean(DISPLAY_OTHER_TIME_ZONES, displayOtherTimeZones).apply()
|
||||
|
||||
var selectedTimeZones: Set<String>
|
||||
get() = prefs.getStringSet(SELECTED_TIME_ZONES, HashSet())
|
||||
set(selectedTimeZones) = prefs.edit().putStringSet(SELECTED_TIME_ZONES, selectedTimeZones).apply()
|
||||
}
|
||||
|
Reference in New Issue
Block a user