Compare commits

..

1 Commits

Author SHA1 Message Date
Shadowfacts c4991a6671
Add the app 2021-08-31 23:25:29 -04:00
1 changed files with 0 additions and 8 deletions

View File

@ -30,14 +30,6 @@ class AppDelegate: NSObject, NSApplicationDelegate {
// update the icon when system prefs changes
DistributedNotificationCenter.default().addObserver(self, selector: #selector(updateIcon), name: .swipeScrollDirectionDidChangeNotification, object: nil)
}
func applicationWillTerminate(_ aNotification: Notification) {
// Insert code here to tear down your application
}
func applicationSupportsSecureRestorableState(_ app: NSApplication) -> Bool {
return true
}
@objc private func updateIcon() {
item.button!.image = Direction.current.image