commit cd591307a80c6600eb9727efb62777394f919804
parent 189b671108953d514e062172dafe5b36db6cadb7
Author: William Casarin <jb55@jb55.com>
Date: Mon, 19 Dec 2022 22:32:38 -0800
search: disable autocorrection
Changelog-Fixed: Disable autocorrection on search
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/damus/Views/SearchHomeView.swift b/damus/Views/SearchHomeView.swift
@@ -19,6 +19,7 @@ struct SearchHomeView: View {
TextField("", text: $search)
.padding(8)
.padding(.leading, 35)
+ .autocorrectionDisabled(true)
.textInputAutocapitalization(.never)
Label("", systemImage: "xmark.square")
.padding(EdgeInsets(top: 0.0, leading: 0.0, bottom: 0.0, trailing: 10.0))