Skip to content

Commit

Permalink
fixes #359
Browse files Browse the repository at this point in the history
  • Loading branch information
Ron Radtke committed Jul 22, 2024
1 parent 1caa1c6 commit f3ddf27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/ReactNativeBlobUtilRequest.mm
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ - (void) sendRequest:(__weak NSDictionary * _Nullable )options
defaultConfigObject.timeoutIntervalForRequest = timeout/1000;
}

if([options valueForKey:CONFIG_WIFI_ONLY] != nil && ![options[CONFIG_WIFI_ONLY] boolValue]){
if([options valueForKey:CONFIG_WIFI_ONLY] != nil && [options[CONFIG_WIFI_ONLY] boolValue]){
[defaultConfigObject setAllowsCellularAccess:NO];
}

Expand Down

0 comments on commit f3ddf27

Please sign in to comment.