mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-27 23:26:24 +02:00
Moves Login QR Button to a leading QR, not a trailing QR
This commit is contained in:
@@ -134,6 +134,9 @@ fun LoginPage(
|
|||||||
}
|
}
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
leadingIcon = {
|
||||||
if (dialogOpen) {
|
if (dialogOpen) {
|
||||||
SimpleQrCodeScanner {
|
SimpleQrCodeScanner {
|
||||||
dialogOpen = false
|
dialogOpen = false
|
||||||
@@ -150,7 +153,6 @@ fun LoginPage(
|
|||||||
tint = MaterialTheme.colors.primary
|
tint = MaterialTheme.colors.primary
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
|
||||||
},
|
},
|
||||||
visualTransformation = if (showPassword) VisualTransformation.None else PasswordVisualTransformation(),
|
visualTransformation = if (showPassword) VisualTransformation.None else PasswordVisualTransformation(),
|
||||||
keyboardActions = KeyboardActions(
|
keyboardActions = KeyboardActions(
|
||||||
|
Reference in New Issue
Block a user