mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
6bdcb49966
Summary: This aligns the logic of setting style (width / height) and source of Android with iOS. iOS handles nullish uris with set width and heigth by passing them through. Android did not. ## Changelog [Android] [Fixed] - Align android image style / source logic with ios Pull Request resolved: https://github.com/facebook/react-native/pull/34655 Test Plan: ``` <Image source={{width: 100, height: 100}} /> ``` Before this Patch: * iOS: Renders a blank image with 100x100 * Android: Renders a blank image with 0x0 After this Patch: * iOS: Renders a blank image with 100x100 * Android: Renders a blank image with 100x100 Reviewed By: sammy-SC Differential Revision: D39423391 Pulled By: cipolleschi fbshipit-source-id: 997c06dea42e9b69fda12b678a1b82ad8319537f