diff --git a/Packages/Account/Sources/Account/Filters/EditFilterView.swift b/Packages/Account/Sources/Account/Filters/EditFilterView.swift index ad56ae9b..e30bff23 100644 --- a/Packages/Account/Sources/Account/Filters/EditFilterView.swift +++ b/Packages/Account/Sources/Account/Filters/EditFilterView.swift @@ -255,6 +255,11 @@ struct EditFilterView: View { private var saveButton: some View { Button { Task { + if !newKeyword.isEmpty { + await addKeyword(name: newKeyword) + newKeyword = "" + focusedField = .newKeyword + } await saveFilter() dismiss() }