mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
fix(android): getScaledDimensions (#9992)
This commit is contained in:
@@ -434,7 +434,7 @@ public class Utils {
|
||||
|
||||
return new Pair<>(
|
||||
Math.round((maxSize * width) / height)
|
||||
, (int) height);
|
||||
, (int) maxSize);
|
||||
}
|
||||
|
||||
if (width <= maxSize) {
|
||||
|
||||
Reference in New Issue
Block a user