diff --git a/ios/RCTPushy/RCTPushy.mm b/ios/RCTPushy/RCTPushy.mm index d597cde..1c32768 100644 --- a/ios/RCTPushy/RCTPushy.mm +++ b/ios/RCTPushy/RCTPushy.mm @@ -304,7 +304,7 @@ RCT_EXPORT_METHOD(setNeedUpdate:(NSDictionary *)options if (hash.length) { NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults]; NSString *lastVersion = nil; - NSDictionary *pushyInfo = [defaults objectForKey:keyPushyInfo] + NSDictionary *pushyInfo = [defaults objectForKey:keyPushyInfo]; if (pushyInfo) { lastVersion = pushyInfo[paramCurrentVersion]; } @@ -679,4 +679,4 @@ RCT_EXPORT_METHOD(markSuccess:(RCTPromiseResolveBlock)resolve } #endif -@end \ No newline at end of file +@end