Browse Source

Provide unique identifiers for timezones that are added.

pull/92/head
Abhishek 4 years ago
parent
commit
5b2b5a7901
  1. 1
      Clocker/Preferences/General/PreferencesViewController.swift

1
Clocker/Preferences/General/PreferencesViewController.swift

@ -779,6 +779,7 @@ extension PreferencesViewController {
private func cleanupAfterInstallingTimezone() {
let data = TimezoneData()
data.placeID = UUID().uuidString
data.setLabel(CLEmptyString)
let currentSelection = searchField.stringValue.isEmpty == false ? searchResultsDataSource.timezoneFilteredArray[availableTimezoneTableView.selectedRow % searchResultsDataSource.timezoneFilteredArray.count] :

Loading…
Cancel
Save