remove notifications before adding new ones
This commit is contained in:
@@ -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(_):
|
||||
|
||||
Reference in New Issue
Block a user