Sebastián Katzer 10 лет назад
Родитель
Сommit
829501a9a6

+ 1 - 1
src/ios/APPLocalNotificationOptions.m

@@ -46,7 +46,7 @@ NSString* const DEFAULT_SOUND = @"res://platform_default";
  */
 - (id) initWithDict:(NSDictionary*)dictionary
 {
-    self = [super init];
+    self = [self init];
 
     self.dict = dictionary;
 

+ 1 - 1
src/ios/UILocalNotification+APPLocalNotification.m

@@ -41,7 +41,7 @@ NSInteger const APPLocalNotificationTypeTriggered = 2;
  */
 - (id) initWithOptions:(NSDictionary*)dict
 {
-    self = [super init];
+    self = [self init];
 
     [self setUserInfo:dict];
     [self __init];