Commit a72f9c75 authored by Jeff Boek's avatar Jeff Boek
Browse files

For #12570 - Correctly removes search suggestions when search query and url is empty

parent 12b95b49
......@@ -170,7 +170,7 @@ class AwesomeBarView(
updateSuggestionProvidersVisibility(state)
// Do not make suggestions based on user's current URL unless it's a search shortcut
if (state.query == state.url && !state.showSearchShortcuts) {
if (state.query.isNotEmpty() && state.query == state.url && !state.showSearchShortcuts) {
return
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment