Browse Source

always show menu for debug

works_for_me
Andreas Buff 2 years ago
parent
commit
97d1115c42
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": false]
let appDefaults = ["ScheduleUpdates": true, "AlwaysShowThisMenu": true]
UserDefaults.standard.register(defaults: appDefaults)
if UserDefaults.standard.bool(forKey: "AlwaysShowThisMenu") {
_alwaysShowThisMenu.state = NSControl.StateValue.on


Loading…
Cancel
Save