mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +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
|
@ViewBuilder
|
||||||
var textField: some View {
|
var textField: some View {
|
||||||
if isSecure {
|
if isSecure {
|
||||||
SecureField("", text: $pinCode)
|
SecureField(L10n.a11yPinField, text: $pinCode)
|
||||||
} else {
|
} else {
|
||||||
TextField("", text: $pinCode)
|
TextField(L10n.a11yPinField, text: $pinCode)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user