Skip to content

Commit

Permalink
Merge ceb8058 into b535757
Browse files Browse the repository at this point in the history
  • Loading branch information
Danchoys authored Dec 9, 2020
2 parents b535757 + ceb8058 commit 1e32c82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/remote-config/ios/RNFBConfig/RNFBConfigModule.m
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ + (BOOL)requiresMainQueueSetup {
}
};

if (expirationDuration == @(-1)) {
if (expirationDuration.integerValue == -1) {
[[FIRRemoteConfig remoteConfigWithApp:firebaseApp] fetchWithCompletionHandler:completionHandler];
} else {
[[FIRRemoteConfig remoteConfigWithApp:firebaseApp] fetchWithExpirationDuration:expirationDuration.doubleValue completionHandler:completionHandler];
Expand Down

0 comments on commit 1e32c82

Please sign in to comment.