Skip to content

Fix/thumbnail resize android #2150

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Aug 1, 2022
Merged

Conversation

adids1221
Copy link
Contributor

Description

Fixed image resize mode bug on android , WOAUILIB-2865

Changelog

Fixed image resize mode bug on android

@adids1221 adids1221 requested a review from ethanshar July 28, 2022 07:07
@ethanshar ethanshar added the Important for Next Release PR that must be included in the release version label Jul 29, 2022
@@ -206,7 +206,7 @@ class Image extends PureComponent<Props, State> {
const shouldFlipRTL = supportRTL && Constants.isRTL;
const ImageView = this.shouldUseImageBackground() ? ImageBackground : RNImage;
const {margins} = modifiers;
// const resizeMode = useImageInsideContainer ? 'contain' : undefined;
console.log(`useImageInsideContainer: ${useImageInsideContainer}`);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't keep console.log in the code

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My mistake, fixed

@ethanshar ethanshar merged commit a9fbf17 into master Aug 1, 2022
ethanshar pushed a commit that referenced this pull request Aug 1, 2022
* Fixed thumbnail resize bug on android, the bug was in image component

* Prettier eslint code format

* Update snapshot

* Fixed reviwe notes

* Fixed review notes
@adids1221 adids1221 deleted the fix/thumbnail_resize_android branch August 11, 2022 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Important for Next Release PR that must be included in the release version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants