Feature/4519 voice over texte secure textfield

This commit is contained in:
Arnfried Griesert
2023-05-03 04:42:05 +00:00
parent db82078a13
commit c59742d8ee
6 changed files with 20 additions and 3 deletions
@@ -46,6 +46,7 @@ struct PasswordButtonModifier: ViewModifier {
.frame(width: iconSize, height: iconSize)
.foregroundColor(theme.colors.secondaryContent)
}
.accessibilityLabel(isSecureTextVisible ? BWIL10n.textfieldHideSecret : BWIL10n.textfieldRevealSecret)
.padding(.top, alignment == .top ? 8 : 0)
.padding(.bottom, alignment == .bottom ? 8 : 0)
.padding(.trailing, 12)