Commit e8d8cae1 by Sebastián Katzer

Only decrease badge number on click

parent a438e655
...@@ -370,8 +370,10 @@ ...@@ -370,8 +370,10 @@
NSString* event = (timeInterval <= 1 && deviceready) ? @"trigger" : @"click"; NSString* event = (timeInterval <= 1 && deviceready) ? @"trigger" : @"click";
[UIApplication sharedApplication] if ([event isEqualToString:@"click"]) {
.applicationIconBadgeNumber -= 1; [UIApplication sharedApplication]
.applicationIconBadgeNumber -= 1;
}
[self fireEvent:event localNotification:notification]; [self fireEvent:event localNotification:notification];
......
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