We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9c5ecd commit a9a60e5Copy full SHA for a9a60e5
src/image/index.ios.ts
@@ -353,8 +353,7 @@ export class Img extends ImageBase {
353
} else {
354
widthMeasureSpec = layout.makeMeasureSpec(0, layout.AT_MOST);
355
}
356
- }
357
- else if (!finiteHeight && finiteWidth) {
+ } else if (!finiteHeight && finiteWidth) {
358
if (!this.noRatioEnforce || this.verticalAlignment !== 'stretch') {
359
heightMeasureSpec = layout.makeMeasureSpec(width / ratio, layout.EXACTLY);
360
0 commit comments