mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-11-04 15:07:32 +00:00
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:
1 parent
af54895ca3
commit
a384d3703b
1 file changed
+1
-1
+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) {
|
||||
|
||||
Reference in new issue
Block a user