Fix syntax error in messaging
This commit is contained in:
parent
b9764bce61
commit
f7f3b6b8ea
|
@ -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