remove notifications before adding new ones

This commit is contained in:
Trey t
2022-02-03 14:05:07 -06:00
parent a5824ba71a
commit a0ce5f907a

View File

@@ -29,6 +29,8 @@ class LocalNotification {
}
public class func scheduleReminder(atTime time: Date, withTitle title: String) {
self.removeNotificaiton()
LocalNotification.testIfEnabled(completion: { result in
switch result{
case .success(_):