1
0
mirror of https://github.com/yattee/yattee.git synced 2024-12-13 22:00:31 +05:30

Fix username keyboard input

This commit is contained in:
Dave Nicolson 2023-09-09 18:18:45 +02:00
parent 85cb42fc8d
commit 0822c7b93a

View File

@ -81,6 +81,10 @@ struct AccountForm: View {
@ViewBuilder var formFields: some View {
TextField("Username", text: $username)
#if !os(macOS)
.autocapitalization(.none)
#endif
.disableAutocorrection(true)
SecureField("Password", text: $password)
#if os(tvOS)