Browse Source

More linting.

pull/92/head
Abhishek Banthia 6 years ago
parent
commit
fc3625653a
  1. 4
      Clocker/Clocker/LocationController.swift
  2. 4
      Clocker/Panel/ParentPanelController.swift

4
Clocker/Clocker/LocationController.swift

@ -66,15 +66,13 @@ class LocationController: NSObject {
}
}
for timezoneObject in timezoneObjects {
if timezoneObject.isSystemTimezone == true {
for timezoneObject in timezoneObjects where timezoneObject.isSystemTimezone == true {
timezoneObject.setLabel(customLabel)
if let latlong = coordinates {
timezoneObject.longitude = latlong.longitude
timezoneObject.latitude = latlong.latitude
}
}
}
var datas: [Data] = []

4
Clocker/Panel/ParentPanelController.swift

@ -179,15 +179,13 @@ class ParentPanelController: NSWindowController {
}
}
for timezoneObject in timezoneObjects {
if timezoneObject.isSystemTimezone == true {
for timezoneObject in timezoneObjects where timezoneObject.isSystemTimezone == true {
timezoneObject.setLabel(customLabel)
if let latlong = coordinates {
timezoneObject.longitude = latlong.longitude
timezoneObject.latitude = latlong.latitude
}
}
}
var datas: [Data] = []

Loading…
Cancel
Save