Commit 30ef6817 authored by Sebastián Katzer's avatar Sebastián Katzer
Browse files

Use localNotifications: instead of scheduledLocalNotifications:

parent 121ab4ac
Loading
Loading
Loading
Loading
+2 −2
Changes for src/ios/APPLocalNotification.m: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -493,11 +493,11 @@
{
    NSArray* notifications;

    notifications = [self.app scheduledLocalNotifications];
    notifications = [self.app localNotifications];

    for (UILocalNotification* notification in notifications)
    {
        if (notification && ![notification isRepeating]
        if (![notification isRepeating]
            && notification.timeIntervalSinceFireDate > seconds)
        {
            [self.app cancelLocalNotification:notification];