android: fix empty space below the QR scanner on tablets in landscape (#8009)

Co-authored-by: spacedandy-agents-simplex <342056592+spacedandy-agents-simplex@users.noreply.github.com>
This commit is contained in:
spaced4ndyandspacedandy-agents-simplex authored and GitHub committed 2026-11-03 12:33:21 +00:00
1 parent af54895ca3
commit a384d3703b
1 file changed
+1 -1
@@ -65,7 +65,7 @@ actual fun QRCodeScanner(
val modifier = Modifier
.padding(padding)
.clipToBounds()
.widthIn(max = 400.dp)
.sizeIn(maxWidth = 400.dp, maxHeight = 400.dp)
.aspectRatio(1f)
val showScanner = remember { showQRCodeScanner }
if (showScanner.value && cameraPermissionState.status == PermissionStatus.Granted) {