fix(android): getScaledDimensions (#9992)

This commit is contained in:
Ruslan Lekhman
2022-08-10 18:52:14 -06:00
committed by GitHub
parent be6efc3067
commit 944d542571

View File

@@ -434,7 +434,7 @@ public class Utils {
return new Pair<>( return new Pair<>(
Math.round((maxSize * width) / height) Math.round((maxSize * width) / height)
, (int) height); , (int) maxSize);
} }
if (width <= maxSize) { if (width <= maxSize) {