Merge pull request #432 from JackThomson2/master

Fix syntax error in messaging
This commit is contained in:
chrisbianca 2017-09-21 12:46:47 +01:00 committed by GitHub
commit 9a4ec1d3fa
1 changed files with 1 additions and 1 deletions

View File

@ -388,7 +388,7 @@ RCT_EXPORT_METHOD(getScheduledLocalNotifications:(RCTPromiseResolveBlock)resolve
RCT_EXPORT_METHOD(setBadgeNumber: (NSInteger*) number) {
dispatch_async(dispatch_get_main_queue(), ^{
[RCTSharedApplication() setApplicationIconBadgeNumber:number];
}
});
}
RCT_EXPORT_METHOD(getBadgeNumber: (RCTPromiseResolveBlock)resolve rejecter:(RCTPromiseRejectBlock)reject) {