mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-10-31 16:24:11 +00:00
added a placeholder to the pin text field to describe its content in voice over mode
This commit is contained in:
@@ -32,9 +32,9 @@ struct PINTextField: View {
|
||||
@ViewBuilder
|
||||
var textField: some View {
|
||||
if isSecure {
|
||||
SecureField("", text: $pinCode)
|
||||
SecureField(L10n.a11yPinField, text: $pinCode)
|
||||
} else {
|
||||
TextField("", text: $pinCode)
|
||||
TextField(L10n.a11yPinField, text: $pinCode)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user