Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notifications fix #1069

Merged
merged 10 commits into from
Jan 27, 2025
3 changes: 1 addition & 2 deletions Meshtastic/Helpers/LocalNotificationManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Loading