From bb4938e580e10fa60a00832c4b5fcdaa5559e2df Mon Sep 17 00:00:00 2001 From: Abhishek Date: Fri, 2 Jul 2021 13:50:21 -0500 Subject: [PATCH] Fix bug! --- Clocker/Panel/ParentPanelController.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Clocker/Panel/ParentPanelController.swift b/Clocker/Panel/ParentPanelController.swift index d6ad916..e09c59d 100644 --- a/Clocker/Panel/ParentPanelController.swift +++ b/Clocker/Panel/ParentPanelController.swift @@ -184,7 +184,9 @@ class ParentPanelController: NSWindowController { if DataStore.shared().timezones().isEmpty || DataStore.shared().shouldDisplay(.futureSlider) == false { futureSliderView.isHidden = true - modernContainerView.isHidden = true + if modernContainerView != nil { + modernContainerView.isHidden = true + } } else if let value = DataStore.shared().retrieve(key: CLDisplayFutureSliderKey) as? NSNumber { if value.intValue == 1 { futureSliderView.isHidden = false