For #12570 - Correctly removes search suggestions when search query and url is empty
parent
12b95b4902
commit
a72f9c75f0
|
@ -170,7 +170,7 @@ class AwesomeBarView(
|
||||||
updateSuggestionProvidersVisibility(state)
|
updateSuggestionProvidersVisibility(state)
|
||||||
|
|
||||||
// Do not make suggestions based on user's current URL unless it's a search shortcut
|
// 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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue