This commit is contained in:
Grishka committed 2023-04-14 18:09:07 +03:00
1 parent 9216f4e718
commit 1c1c0188b1
2 files changed
+7 -5

No files matched your search

+3 -1
View File
@@ -27,7 +27,9 @@ class AppDelegate: NSObject, NSApplicationDelegate{
let nc=UNUserNotificationCenter.current()
nc.requestAuthorization(options: [.alert, .sound]) { granted, err in
if !granted{
self.showNotificationsDeniedAlert()
DispatchQueue.main.async {
self.showNotificationsDeniedAlert()
}
}
}
let incomingTransfersCategory=NDNotificationCenterHackery.hackedNotificationCategory()