mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fix resizeMethod prop (#54178)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/54178 The `resizeMethod` prop was reading from `internal_analyticTag` and not setting on the backing image, this change remaps it Changelog: [General][Fixed] resizeMethod was not propagated correctly on Android with Props 2.0 Reviewed By: javache Differential Revision: D84716400 fbshipit-source-id: 320aded79cba787585d875fc46111bca34c0c30c
This commit is contained in:
committed by
meta-codesync[bot]
parent
40ac4478fb
commit
7c543db181
@@ -92,12 +92,12 @@ ImageProps::ImageProps(
|
||||
{})),
|
||||
resizeMethod(
|
||||
ReactNativeFeatureFlags::enableCppPropsIteratorSetter()
|
||||
? sourceProps.internal_analyticTag
|
||||
? sourceProps.resizeMethod
|
||||
: convertRawProp(
|
||||
context,
|
||||
rawProps,
|
||||
"resizeMethod",
|
||||
sourceProps.internal_analyticTag,
|
||||
sourceProps.resizeMethod,
|
||||
{})),
|
||||
resizeMultiplier(
|
||||
ReactNativeFeatureFlags::enableCppPropsIteratorSetter()
|
||||
|
||||
Reference in New Issue
Block a user