Browse Source

Fix stuck times.

pull/92/head
Abhishek 4 years ago
parent
commit
672d6fd9ef
  1. 3
      Clocker/Panel/PanelController.swift

3
Clocker/Panel/PanelController.swift

@ -270,7 +270,8 @@ class PanelController: ParentPanelController {
func minimize() {
let delegate = NSApplication.shared.delegate as? AppDelegate
if DataStore.shared().shouldDisplay(.showMeetingInMenubar) == true {
let count = DataStore.shared().menubarTimezones()?.count ?? 0
if count >= 1 || DataStore.shared().shouldDisplay(.showMeetingInMenubar) == true {
if let handler = delegate?.statusItemForPanel(), let timer = handler.menubarTimer, !timer.isValid {
delegate?.setupMenubarTimer()
}

Loading…
Cancel
Save