mirror of
https://github.com/aliasvault/aliasvault.git
synced 2026-05-13 18:05:28 -04:00
Disable autocorrect on iOS autofill search field (#965)
This commit is contained in:
committed by
Leendert de Borst
parent
e2aafa3704
commit
e31f3df45b
@@ -15,6 +15,7 @@ public struct SearchBarView: View {
|
||||
|
||||
TextField("Search credentials...", text: $text)
|
||||
.autocapitalization(.none)
|
||||
.disableAutocorrection(true)
|
||||
.foregroundColor(colorScheme == .dark ? ColorConstants.Dark.text : ColorConstants.Light.text)
|
||||
.padding(.leading, 4)
|
||||
.padding(.trailing, 28) // Space for clear button
|
||||
|
||||
Reference in New Issue
Block a user