Text changes and images

This commit is contained in:
Arnfried Griesert
2024-03-18 05:54:11 +01:00
parent cd7b5eeb95
commit 8eb38befdf
8 changed files with 37 additions and 15 deletions

View File

@@ -182,7 +182,13 @@ struct AuthenticationLoginScreen: View {
/// A QR login button that can be used for login.
var qrLoginButton: some View {
Button(action: qrLogin) {
Text(VectorL10n.authenticationLoginWithQr)
Label {
Text(VectorL10n.authenticationLoginWithQr)
} icon: {
Image(uiImage: Asset.Images.qr.image)
.resizable()
.frame(width: 24, height: 24)
}
}
.buttonStyle(SecondaryActionButtonStyle(font: theme.fonts.bodySB))
.padding(.vertical)