Merge branch 'main' of github.com:akatreyt/Feels
This commit is contained in:
@@ -69,11 +69,15 @@ class LocalNotification {
|
||||
let request = UNNotificationRequest(identifier: UUID().uuidString, content: notificationContent, trigger: trigger)
|
||||
UNUserNotificationCenter.current().add(request) { (error : Error?) in
|
||||
if let theError = error {
|
||||
#if DEBUG
|
||||
print(theError.localizedDescription)
|
||||
#endif
|
||||
}
|
||||
}
|
||||
case .failure(let error):
|
||||
#if DEBUG
|
||||
print(error)
|
||||
#endif
|
||||
// Todo: show enable this
|
||||
break
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user