Commit caf387cb by Sebastián Katzer

Replace self.app to _app

parent 22ec9056
......@@ -119,7 +119,7 @@
// NSNumber* id = [options objectForKey:@"id"];
// UILocalNotification* notification;
//
// notification = [self.app localNotificationWithId:id];
// notification = [_app localNotificationWithId:id];
//
// if (!notification)
// continue;
......@@ -174,7 +174,7 @@
{
[self.commandDelegate runInBackground:^{
[_center clearAllNotifications];
[self.app setApplicationIconBadgeNumber:0];
[_app setApplicationIconBadgeNumber:0];
[self fireEvent:@"clearall"];
[self execCallback:command];
}];
......@@ -215,7 +215,7 @@
{
[self.commandDelegate runInBackground:^{
[_center cancelAllNotifications];
[self.app setApplicationIconBadgeNumber:0];
[_app setApplicationIconBadgeNumber:0];
[self fireEvent:@"cancelall"];
[self execCallback:command];
}];
......
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