mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-12-01 09:50:16 +00:00
Use newish keyboard modifier for username/email fields. Issue #1065
This commit is contained in:
1 parent
5717c84067
commit
7316ceed9d
2 files changed
+6
-2
No files matched your search
@@ -28,7 +28,9 @@ struct SettingsFeedbinAccountView : View {
|
||||
Spacer()
|
||||
}
|
||||
) {
|
||||
TextField("Email", text: $viewModel.email).textContentType(.emailAddress)
|
||||
TextField("Email", text: $viewModel.email)
|
||||
.keyboardType(.emailAddress)
|
||||
.textContentType(.emailAddress)
|
||||
SecureField("Password", text: $viewModel.password)
|
||||
}
|
||||
Section(footer:
|
||||
|
||||
@@ -29,7 +29,9 @@ struct SettingsReaderAPIAccountView : View {
|
||||
Spacer()
|
||||
}
|
||||
) {
|
||||
TextField("Email", text: $viewModel.email).textContentType(.username)
|
||||
TextField("Email", text: $viewModel.email)
|
||||
.keyboardType(.emailAddress)
|
||||
.textContentType(.emailAddress)
|
||||
SecureField("Password", text: $viewModel.password)
|
||||
TextField("API URL:", text: $viewModel.apiURL).textContentType(.URL)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user