Collapse search view on back button

pull/935/head
Alex Baker 5 years ago
parent ae3b3edd5a
commit 4030312820

@ -529,7 +529,8 @@ public final class TaskListFragment extends InjectingFragment
} }
boolean collapseSearchView() { boolean collapseSearchView() {
return search.isActionViewExpanded() && search.collapseActionView(); return search.isActionViewExpanded()
&& (search.collapseActionView() || !search.isActionViewExpanded());
} }
private void refresh() { private void refresh() {

Loading…
Cancel
Save