Browse Source

Cleanup uncalled method.

pull/113/head
Abhishek Banthia 3 years ago
parent
commit
dad91c836d
  1. 4
      Clocker/AppDelegate.swift
  2. 2
      Clocker/Panel/ParentPanelController.swift

4
Clocker/AppDelegate.swift

@ -262,10 +262,6 @@ open class AppDelegate: NSObject, NSApplicationDelegate {
return statusBarHandler
}
open func setPanelDefaults() {
panelController.updateDefaultPreferences()
}
open func setupMenubarTimer() {
statusBarHandler.setupStatusItem()
}

2
Clocker/Panel/ParentPanelController.swift

@ -790,7 +790,7 @@ class ParentPanelController: NSWindowController {
sharedDelegate.setupFloatingWindow(false)
} else {
sharedDelegate.setupFloatingWindow(true)
sharedDelegate.setPanelDefaults()
updateDefaultPreferences()
}
let mode = inverseSelection.isEqual(to: NSNumber(value: 1)) ? "Floating Mode" : "Menubar Mode"

Loading…
Cancel
Save