forked from mirrors/linphone-iphone
Disable auto capitalization and auto correction in the global search bar
This commit is contained in:
parent
3994129177
commit
bdd38a80b6
1 changed files with 4 additions and 0 deletions
|
|
@ -433,6 +433,8 @@ struct ContentView: View {
|
|||
))
|
||||
.default_text_style_white_700(styleSize: 15)
|
||||
.padding(.all, 6)
|
||||
.disableAutocorrection(true)
|
||||
.autocapitalization(.none)
|
||||
.accentColor(.white)
|
||||
.scrollContentBackground(.hidden)
|
||||
.focused($focusedField)
|
||||
|
|
@ -469,6 +471,8 @@ struct ContentView: View {
|
|||
.default_text_style_700(styleSize: 15)
|
||||
.padding(.all, 6)
|
||||
.focused($focusedField)
|
||||
.disableAutocorrection(true)
|
||||
.autocapitalization(.none)
|
||||
.onAppear {
|
||||
self.focusedField = true
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue