Skip to content

Commit

Permalink
Fix search reset on sticky show
Browse files Browse the repository at this point in the history
  • Loading branch information
italankin committed Dec 31, 2021
1 parent 636d791 commit 03cf64f
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,9 @@ public void focusEditText() {
}

public void onSearchShown() {
if (searchResultsList.getVisibility() == VISIBLE) {
return;
}
boolean showMostUsed = preferences.get(Preferences.SEARCH_SHOW_MOST_USED);
if (searchResultsList.getAdapter() == null) {
if (!showMostUsed) {
Expand Down

0 comments on commit 03cf64f

Please sign in to comment.