Commit 30ef6817 by Sebastián Katzer

Use localNotifications: instead of scheduledLocalNotifications:

parent 121ab4ac
......@@ -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];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment