Fix syntax error in messaging

This commit is contained in:
JackThomson2 2017-09-21 12:34:50 +01:00
parent b9764bce61
commit f7f3b6b8ea
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) {