ui: smaller QR code for verify code view, change iOS layout (#5948)

* ui: smaller QR code for verify code view, change iOS layout

* ios: fix layout for editing group profile
This commit is contained in:
Evgeny
2025-05-26 16:57:18 +01:00
committed by GitHub
parent cbaab06975
commit 686145ba36
9 changed files with 167 additions and 180 deletions
@@ -68,7 +68,7 @@ private fun VerifyCodeLayout(
}
}
QRCode(connectionCode, padding = PaddingValues(vertical = DEFAULT_PADDING_HALF))
QRCode(connectionCode, small = true, padding = PaddingValues(vertical = DEFAULT_PADDING_HALF))
Row(Modifier.fillMaxWidth(), verticalAlignment = Alignment.CenterVertically) {
Spacer(Modifier.weight(2f))
@@ -84,7 +84,7 @@ fun QRCode(
Modifier
.padding(padding)
.widthIn(max = 400.dp)
.fillMaxWidth(if (small) 0.67f else 1f)
.fillMaxWidth(if (small) 0.63f else 1f)
.aspectRatio(1f)
.then(modifier)
.clickable {