add a dialog for changing time zone title

This commit is contained in:
tibbi
2018-03-02 11:53:17 +01:00
parent 48b798d692
commit 60bac7087d
8 changed files with 99 additions and 3 deletions

View File

@ -19,4 +19,8 @@ class Config(context: Context) : BaseConfig(context) {
var selectedTimeZones: Set<String>
get() = prefs.getStringSet(SELECTED_TIME_ZONES, HashSet())
set(selectedTimeZones) = prefs.edit().putStringSet(SELECTED_TIME_ZONES, selectedTimeZones).apply()
var editedTimeZoneTitles: Set<String>
get() = prefs.getStringSet(EDITED_TIME_ZONE_TITLES, HashSet())
set(editedTimeZoneTitles) = prefs.edit().putStringSet(EDITED_TIME_ZONE_TITLES, editedTimeZoneTitles).apply()
}