Browse Source

fixes: forgot to set alswaysShow default back to false

works_for_me
Andreas Buff 2 years ago
parent
commit
a6fe77d62f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      pEpNotifications/pEpNotifications/AppDelegate.swift

+ 1
- 1
pEpNotifications/pEpNotifications/AppDelegate.swift View File

@ -184,7 +184,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSUserNotificationCenterDele
func applicationDidFinishLaunching(_ aNotification: Notification) {
// preference defaults
let appDefaults = ["ScheduleUpdates": true, "AlwaysShowThisMenu": true]
let appDefaults = ["ScheduleUpdates": true, "AlwaysShowThisMenu": false]
UserDefaults.standard.register(defaults: appDefaults)
if UserDefaults.standard.bool(forKey: "AlwaysShowThisMenu") {
_alwaysShowThisMenu.state = NSControl.StateValue.on


Loading…
Cancel
Save