Browse Source

Minor changes.

v1.2.4
Abhishek Banthia 9 years ago
parent
commit
5d2386ea13
  1. 8
      Clocker/Preferences/CLPreferencesViewController.m

8
Clocker/Preferences/CLPreferencesViewController.m

@ -749,13 +749,7 @@ NSString *const CLTryAgainMessage = @"Try again, maybe?";
}
NSMutableDictionary *newTimezone = [NSMutableDictionary dictionary];
if (json[@"sunrise"]) {
[newTimezone setObject:json[@"sunrise"] forKey:@"sunriseTime"];
}
if (json[@"sunset"]) {
[newTimezone setObject:json[@"sunset"] forKey:@"sunsetTime"];
}
[newTimezone setObject:json[@"timeZoneId"] forKey:CLTimezoneID];

Loading…
Cancel
Save