diff --git a/Shared/Search/SearchSuggestions.swift b/Shared/Search/SearchSuggestions.swift index 2a32fed0..aae645c3 100644 --- a/Shared/Search/SearchSuggestions.swift +++ b/Shared/Search/SearchSuggestions.swift @@ -11,7 +11,7 @@ struct SearchSuggestions: View { } label: { HStack { Image(systemName: "magnifyingglass") - Text(state.queryText) + Text(state.queryText.trimmingCharacters(in: .whitespacesAndNewlines)) .lineLimit(1) } }