metamask-mobile
metamask-mobile copied to clipboard
[PS] Components fix local image styling
Description
React Native's Image style behaves differently depending on which source our image is coming from. Flex works fine for remote images but flex:1 is not enough for remote images. For remote images, we need to set height and width to be undefined for flex to apply properly.
Technical Details
- For components that take images and has flex:1 on the
Image
tag, set height and width = undefined
Acceptance Criteria
- Components that take imageSource should render local sources properly