mirror of
https://github.com/leonboe1/QuickDrop.git
synced 2026-11-22 14:26:01 +00:00
Fix #13
This commit is contained in:
1 parent
9216f4e718
commit
1c1c0188b1
2 files changed
+7
-5
No files matched your search
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user