From 51f31feca8ecc4a3e6b5ceb513e1e158fbe3619c Mon Sep 17 00:00:00 2001 From: Abhishek Date: Sat, 15 Jun 2019 10:25:26 -0700 Subject: [PATCH] Making code more Swifty. --- Clocker/Panel/FloatingWindowController.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Clocker/Panel/FloatingWindowController.swift b/Clocker/Panel/FloatingWindowController.swift index 512155a..f96598e 100644 --- a/Clocker/Panel/FloatingWindowController.swift +++ b/Clocker/Panel/FloatingWindowController.swift @@ -13,7 +13,7 @@ class FloatingWindowController: ParentPanelController { window?.standardWindowButton(.zoomButton)?.isHidden = true } - @objc class func shared() -> FloatingWindowController { + class func shared() -> FloatingWindowController { return sharedWindow } @@ -43,7 +43,7 @@ class FloatingWindowController: ParentPanelController { mainTableView.setAccessibility("FloatingTableView") } - @objc override func updatePanelColor() { + override func updatePanelColor() { super.updatePanelColor() updateTheme() }