Commit bda666c3 by Sebastián Katzer

Syntax fix

parent 451d2727
...@@ -20,9 +20,9 @@ ...@@ -20,9 +20,9 @@
- (void) add:(CDVInvokedUrlCommand*)command { - (void) add:(CDVInvokedUrlCommand*)command {
NSArray *arguments = [command arguments]; NSArray *arguments = [command arguments];
NSMutableDictionary *options = [arguments objectAtIndex:0]; NSMutableDictionary *options = [arguments objectAtIndex:0];
UILocalNotification *notification = [this prepareNotification:options]; UILocalNotification *notification = [self prepareNotification:options];
notification.userInfo = [this userDict:options]; notification.userInfo = [self userDict:options];
[[UIApplication sharedApplication] scheduleLocalNotification:notification]; [[UIApplication sharedApplication] scheduleLocalNotification:notification];
} }
...@@ -99,7 +99,7 @@ ...@@ -99,7 +99,7 @@
notification.fireDate = date; notification.fireDate = date;
notification.hasAction = hasAction; notification.hasAction = hasAction;
notification.timeZone = [NSTimeZone defaultTimeZone]; notification.timeZone = [NSTimeZone defaultTimeZone];
notification.repeatInterval = [[[this repeatDict] objectForKey: repeat] intValue]; notification.repeatInterval = [[[self repeatDict] objectForKey: repeat] intValue];
notification.alertBody = ([msg isEqualToString:@""])?nil:msg; notification.alertBody = ([msg isEqualToString:@""])?nil:msg;
notification.alertAction = action; notification.alertAction = action;
notification.soundName = sound; notification.soundName = sound;
......
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