Browse Source

Update DataStore.swift

pull/113/head
Abhishek 3 years ago
parent
commit
d5cbd51a2b
  1. 4
      Clocker/Overall App/DataStore.swift

4
Clocker/Overall App/DataStore.swift

@ -47,10 +47,6 @@ class DataStore: NSObject {
} }
func timezones() -> [Data] { func timezones() -> [Data] {
if let cloudPreferences = ubiquitousStore.object(forKey: CLDefaultPreferenceKey) as? [Data] {
return cloudPreferences
}
guard let preferences = userDefaults.object(forKey: CLDefaultPreferenceKey) as? [Data] else { guard let preferences = userDefaults.object(forKey: CLDefaultPreferenceKey) as? [Data] else {
return [] return []
} }

Loading…
Cancel
Save