Explorar o código

Replace self.app to _app

Sebastián Katzer %!s(int64=8) %!d(string=hai) anos
pai
achega
caf387cbfd
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      src/ios/APPLocalNotification.m

+ 3 - 3
src/ios/APPLocalNotification.m

@@ -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];
     }];