add a toggle for displaying other timezones in the first tab

This commit is contained in:
tibbi
2018-02-28 22:31:29 +01:00
parent b7bb078b98
commit 2b0ace315d
13 changed files with 145 additions and 10 deletions

View File

@ -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()
}