Sebastián Katzer 10 лет назад
Родитель
Сommit
829501a9a6
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      src/ios/APPLocalNotificationOptions.m
  2. 1 1
      src/ios/UILocalNotification+APPLocalNotification.m

+ 1 - 1
src/ios/APPLocalNotificationOptions.m

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

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

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