Skip to content

Commit

Permalink
#171 Auto-request notification permits
Browse files Browse the repository at this point in the history
  • Loading branch information
MrKai77 committed Jan 16, 2024
1 parent 3962c66 commit faf0cc1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Loop/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, UNUserNotificationCenterDele
PermissionsManager.Accessibility.requestAccess()
UNUserNotificationCenter.current().delegate = self

if !AppDelegate.areNotificationsEnabled() {
Defaults[.notificationWhenIconUnlocked] = false
}
AppDelegate.requestNotificationAuthorization()

IconManager.refreshCurrentAppIcon()
loopManager.startObservingKeys()
Expand Down

0 comments on commit faf0cc1

Please sign in to comment.