mirror of
https://github.com/status-im/react-native-fs.git
synced 2025-02-28 23:10:29 +00:00
Fix build breakage
This commit is contained in:
parent
f037c79ec9
commit
23364bd121
@ -465,7 +465,7 @@ RCT_EXPORT_METHOD(downloadFile:(NSDictionary *)options
|
|||||||
body:@{@"jobId": jobId,
|
body:@{@"jobId": jobId,
|
||||||
@"statusCode": statusCode,
|
@"statusCode": statusCode,
|
||||||
@"contentLength": contentLength,
|
@"contentLength": contentLength,
|
||||||
@"headers": headers || [NSNull null]}];
|
@"headers": headers ?: [NSNull null]}];
|
||||||
};
|
};
|
||||||
|
|
||||||
params.progressCallback = ^(NSNumber* contentLength, NSNumber* bytesWritten) {
|
params.progressCallback = ^(NSNumber* contentLength, NSNumber* bytesWritten) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user