|
|
|
@ -196,8 +196,7 @@ class ParentPanelController: NSWindowController {
|
|
|
|
|
name: NSNotification.Name.NSSystemTimeZoneDidChange, |
|
|
|
|
object: nil) |
|
|
|
|
|
|
|
|
|
if DataStore.shared().shouldDisplay(.sync) { |
|
|
|
|
NotificationCenter.default.addObserver(forName: NSUbiquitousKeyValueStore.didChangeExternallyNotification, |
|
|
|
|
NotificationCenter.default.addObserver(forName: DataStore.didSyncFromExternalSourceNotification, |
|
|
|
|
object: self, |
|
|
|
|
queue: OperationQueue.main) |
|
|
|
|
{ [weak self] _ in |
|
|
|
@ -206,7 +205,6 @@ class ParentPanelController: NSWindowController {
|
|
|
|
|
sSelf.setScrollViewConstraint() |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Setup upcoming events view |
|
|
|
|
upcomingEventContainerView.setAccessibility("UpcomingEventView") |
|
|
|
|