mirror of
https://github.com/Finb/Bark.git
synced 2025-12-08 21:36:01 +00:00
多个响铃推送同时到达时,防止重复响铃。
This commit is contained in:
parent
c44005fc45
commit
779e2375f8
@ -31,6 +31,7 @@ class CallProcessor: NotificationContentProcessor {
|
||||
}
|
||||
|
||||
func serviceExtensionTimeWillExpire(contentHandler: (UNNotificationContent) -> Void) {
|
||||
stopAudioWork()
|
||||
if let content {
|
||||
contentHandler(content)
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user