Browse Source

Revert "Update PreferencesViewController.swift"

This reverts commit 167d03b10b.
pull/113/head
Abhishek 3 years ago
parent
commit
b370b2672c
  1. 2
      Clocker/Preferences/General/PreferencesViewController.swift

2
Clocker/Preferences/General/PreferencesViewController.swift

@ -642,6 +642,8 @@ extension PreferencesViewController {
// Mark if the timezone is same as local timezone // Mark if the timezone is same as local timezone
let timezoneObject = TimezoneData(with: newTimeZone) let timezoneObject = TimezoneData(with: newTimeZone)
timezoneObject.isSystemTimezone = timezoneObject.timezone() == NSTimeZone.system.identifier
let operationsObject = TimezoneDataOperations(with: timezoneObject) let operationsObject = TimezoneDataOperations(with: timezoneObject)
operationsObject.saveObject() operationsObject.saveObject()

Loading…
Cancel
Save