Browse Source

Use wipe().

pull/113/head
Abhishek Banthia 3 years ago
parent
commit
e302733355
  1. 4
      Clocker/AppDelegate.swift

4
Clocker/AppDelegate.swift

@ -73,9 +73,9 @@ open class AppDelegate: NSObject, NSApplicationDelegate {
}
@objc private func openPreferencesWindow() {
let displayMode = UserDefaults.standard.integer(forKey: CLShowAppInForeground)
let displayMode = DataStore.shared().shouldDisplay(.showAppInForeground)
if displayMode == 1 {
if displayMode {
let floatingWindow = FloatingWindowController.shared()
floatingWindow.openPreferences(NSButton())
} else {

Loading…
Cancel
Save