Merge pull request #432 from JackThomson2/master
Fix syntax error in messaging
This commit is contained in:
commit
9a4ec1d3fa
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue