mirror of
https://github.com/facebook/react-native.git
synced 2024-11-21 22:10:14 +00:00
Back out "fix(iOS): unify prefetchImageWithMetadata's signature in JS and ObjC land" (#47664)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/47664 We landed the previous change in [4dd60acb7d
](4dd60acb7d
), but this is breaking the OSS CI because now the two signatures do not match ## Changelog: [Internal] - Revert make the prefetchImageWithMetadata's queryRoot nullable Reviewed By: GijsWeterings Differential Revision: D66096759 fbshipit-source-id: b0ce87d82edd63576df7a04c58d5aec3173ad8d6
This commit is contained in:
parent
fe8cc62824
commit
7e0bdcb780
@ -1227,7 +1227,7 @@ RCT_EXPORT_METHOD(prefetchImage
|
||||
|
||||
RCT_EXPORT_METHOD(prefetchImageWithMetadata
|
||||
: (NSString *)uri queryRootName
|
||||
: (nullable NSString *)queryRootName rootTag
|
||||
: (NSString *)queryRootName rootTag
|
||||
: (double)rootTag resolve
|
||||
: (RCTPromiseResolveBlock)resolve reject
|
||||
: (RCTPromiseRejectBlock)reject)
|
||||
|
Loading…
Reference in New Issue
Block a user