|
|
|
@ -81,8 +81,6 @@ class ParentPanelController: NSWindowController {
|
|
|
|
|
|
|
|
|
|
@IBOutlet var sliderDatePicker: NSDatePicker! |
|
|
|
|
|
|
|
|
|
@IBOutlet var debugVersionView: NSView! |
|
|
|
|
|
|
|
|
|
@IBOutlet var modernSlider: NSCollectionView! |
|
|
|
|
|
|
|
|
|
var defaultPreferences: [Data] { |
|
|
|
@ -167,8 +165,6 @@ class ParentPanelController: NSWindowController {
|
|
|
|
|
name: NSNotification.Name.NSSystemTimeZoneDidChange, |
|
|
|
|
object: nil) |
|
|
|
|
|
|
|
|
|
showDebugVersionViewIfNeccesary() |
|
|
|
|
|
|
|
|
|
#if DEBUG |
|
|
|
|
if #available(OSX 11.0, *) { |
|
|
|
|
mainTableView.style = .fullWidth |
|
|
|
@ -181,19 +177,6 @@ class ParentPanelController: NSWindowController {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private func showDebugVersionViewIfNeccesary() { |
|
|
|
|
if debugVersionView != nil { |
|
|
|
|
debugVersionView.wantsLayer = true |
|
|
|
|
debugVersionView.layer?.backgroundColor = NSColor.systemRed.cgColor |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
#if RELEASE |
|
|
|
|
if debugVersionView != nil, stackView.arrangedSubviews.contains(debugVersionView) { |
|
|
|
|
stackView.removeView(debugVersionView) |
|
|
|
|
} |
|
|
|
|
#endif |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@objc func timezoneGonnaChange() { |
|
|
|
|
OperationQueue.main.addOperation { |
|
|
|
|
/* |
|
|
|
|