diff --git a/Shared/Search/SearchSuggestions.swift b/Shared/Search/SearchSuggestions.swift index e91308e8..02daa03f 100644 --- a/Shared/Search/SearchSuggestions.swift +++ b/Shared/Search/SearchSuggestions.swift @@ -30,10 +30,12 @@ struct SearchSuggestions: View { HStack { Image(systemName: "magnifyingglass") HStack(spacing: 0) { - Text(state.suggestionsText) + if suggestion.hasPrefix(state.suggestionsText.lowercased()) { + Text(state.suggestionsText.lowercased()) .lineLimit(1) .layoutPriority(2) .foregroundColor(.secondary) + } Text(querySuffix(suggestion)) .lineLimit(1)