mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Merge pull request #1752 from omnivore-app/fix/zh-keyboards
Fix for handling multiple language keyboards
This commit is contained in:
commit
848e04436d
3 changed files with 1 additions and 7 deletions
|
|
@ -114,10 +114,7 @@ struct CreateLabelView: View {
|
|||
.padding(.bottom, 8)
|
||||
|
||||
TextField("Label Name", text: $newLabelName)
|
||||
#if os(iOS)
|
||||
.keyboardType(.alphabet)
|
||||
#endif
|
||||
.textFieldStyle(StandardTextFieldStyle())
|
||||
.textFieldStyle(StandardTextFieldStyle())
|
||||
|
||||
ScrollView(.horizontal, showsIndicators: false) {
|
||||
LazyHGrid(rows: rows, alignment: .top, spacing: 20) {
|
||||
|
|
|
|||
|
|
@ -140,7 +140,6 @@ struct CreateProfileView: View {
|
|||
#if os(iOS)
|
||||
TextField("", text: $name)
|
||||
.textContentType(.name)
|
||||
.keyboardType(.alphabet)
|
||||
#elseif os(macOS)
|
||||
TextField("", text: $name)
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -131,7 +131,6 @@ struct EmailSignupFormView: View {
|
|||
.focused($focusedField, equals: .fullName)
|
||||
#if os(iOS)
|
||||
.textContentType(.name)
|
||||
.keyboardType(.alphabet)
|
||||
#endif
|
||||
.disableAutocorrection(true)
|
||||
.submitLabel(.next)
|
||||
|
|
@ -150,7 +149,6 @@ struct EmailSignupFormView: View {
|
|||
#if os(iOS)
|
||||
.textInputAutocapitalization(.never)
|
||||
.textContentType(.username)
|
||||
.keyboardType(.alphabet)
|
||||
#endif
|
||||
.disableAutocorrection(true)
|
||||
.submitLabel(.done)
|
||||
|
|
|
|||
Loading…
Reference in a new issue