Skip to content

Commit

Permalink
chore: format iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
russellwheatley committed Feb 6, 2025
1 parent fe16aae commit b3e7ab3
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions packages/remote-config/ios/RNFBConfig/RNFBConfigModule.m
Original file line number Diff line number Diff line change
Expand Up @@ -310,14 +310,15 @@ - (void)invalidate {
: (NSDictionary *)customSignals
: (RCTPromiseResolveBlock)resolve
: (RCTPromiseRejectBlock)reject) {
[[FIRRemoteConfig remoteConfigWithApp:firebaseApp] setCustomSignals:customSignals
withCompletion:^(NSError *_Nullable error) {
if (error != nil) {
[RNFBSharedUtils rejectPromiseWithNSError:reject error:error];
} else {
resolve(nil);
}
}];
[[FIRRemoteConfig remoteConfigWithApp:firebaseApp]
setCustomSignals:customSignals
withCompletion:^(NSError *_Nullable error) {
if (error != nil) {
[RNFBSharedUtils rejectPromiseWithNSError:reject error:error];
} else {
resolve(nil);
}
}];

resolve([self resultWithConstants:[NSNull null] firebaseApp:firebaseApp]);
}
Expand Down

0 comments on commit b3e7ab3

Please sign in to comment.