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 return statusBarHandler
} }
open func setPanelDefaults() {
panelController.updateDefaultPreferences()
}
open func setupMenubarTimer() { open func setupMenubarTimer() {
statusBarHandler.setupStatusItem() statusBarHandler.setupStatusItem()
} }

2
Clocker/Panel/ParentPanelController.swift

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

Loading…
Cancel
Save