From 2bcd63cad322cd1549b20f2596b528e734a5c276 Mon Sep 17 00:00:00 2001 From: NiraliSonani Date: Mon, 16 Dec 2024 14:37:18 +0530 Subject: [PATCH] Allow autocorrect to expense name type of field --- Splito/UI/Home/Expense/AddExpenseView.swift | 1 - Splito/UI/Home/Expense/Note/AddNoteView.swift | 1 - Splito/UI/Home/Groups/Create Group/CreateGroupView.swift | 1 - 3 files changed, 3 deletions(-) diff --git a/Splito/UI/Home/Expense/AddExpenseView.swift b/Splito/UI/Home/Expense/AddExpenseView.swift index 7d2420afb..c3bc06216 100644 --- a/Splito/UI/Home/Expense/AddExpenseView.swift +++ b/Splito/UI/Home/Expense/AddExpenseView.swift @@ -176,7 +176,6 @@ private struct ExpenseDetailRow: View { } .tint(primaryColor) .focused(focusedField, equals: field) - .autocorrectionDisabled() .submitLabel(.next) .onSubmit { focusedField.wrappedValue = .amount diff --git a/Splito/UI/Home/Expense/Note/AddNoteView.swift b/Splito/UI/Home/Expense/Note/AddNoteView.swift index 91cc5330c..4c165e797 100644 --- a/Splito/UI/Home/Expense/Note/AddNoteView.swift +++ b/Splito/UI/Home/Expense/Note/AddNoteView.swift @@ -95,7 +95,6 @@ private struct NoteInputFieldView: View { .font(.subTitle2()) .foregroundStyle(primaryText) .tint(primaryColor) - .autocorrectionDisabled() .padding(16) .overlay { RoundedRectangle(cornerRadius: 12) diff --git a/Splito/UI/Home/Groups/Create Group/CreateGroupView.swift b/Splito/UI/Home/Groups/Create Group/CreateGroupView.swift index e095500ef..b5ed713b3 100644 --- a/Splito/UI/Home/Groups/Create Group/CreateGroupView.swift +++ b/Splito/UI/Home/Groups/Create Group/CreateGroupView.swift @@ -167,7 +167,6 @@ private struct AddGroupNameView: View { RoundedRectangle(cornerRadius: 12) .stroke(outlineColor, lineWidth: 1) } - .autocorrectionDisabled() } } }