mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
Merge pull request #1069 from meshtastic/notificationsFix
Notifications fix
This commit is contained in:
commit
11531ed2de
1 changed files with 1 additions and 2 deletions
|
|
@ -71,8 +71,7 @@ class LocalNotificationManager {
|
|||
content.sound = UNNotificationSound.defaultCritical
|
||||
}
|
||||
|
||||
let trigger = UNTimeIntervalNotificationTrigger(timeInterval: 1, repeats: false)
|
||||
let request = UNNotificationRequest(identifier: notification.id, content: content, trigger: trigger)
|
||||
let request = UNNotificationRequest(identifier: notification.id, content: content, trigger: nil)
|
||||
|
||||
UNUserNotificationCenter.current().add(request) { error in
|
||||
if let error {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue