mirror of
https://github.com/leonboe1/QuickDrop.git
synced 2026-11-21 05:46:03 +00:00
Always allow incoming notifications
This commit is contained in:
1 parent
767a5c5706
commit
fd1dfb4f4a
3 files changed
+11
-2
No files matched your search
@@ -131,7 +131,11 @@ final class MirroredNotificationPresenter {
|
||||
if let error = error {
|
||||
log("[MirroredNotificationPresenter] Could not post notification: \(error.localizedDescription)")
|
||||
} else {
|
||||
log("[MirroredNotificationPresenter] Posted mirrored notification (\(identifier))")
|
||||
DispatchQueue.main.async {
|
||||
Settings.sharedInstance.incomingNotificationCount += 1
|
||||
let count = Settings.sharedInstance.incomingNotificationCount
|
||||
log("[MirroredNotificationPresenter] Posted mirrored notification (\(identifier)). Current count: \(count)")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user