Skip to content

Commit

Permalink
Merge pull request #1548 from alexbakker/fix-menu-button-state
Browse files Browse the repository at this point in the history
Fix state updates for the lock and sort menu items
  • Loading branch information
michaelschattgen authored Dec 2, 2024
2 parents d48f2ea + d2fcb24 commit 411a677
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -928,6 +928,9 @@ public boolean onCreateOptionsMenu(Menu menu) {
_menu = menu;
getMenuInflater().inflate(R.menu.menu_main, menu);

updateLockIcon();
updateSortCategoryMenu();

MenuItem searchViewMenuItem = menu.findItem(R.id.mi_search);
_searchView = (SearchView) searchViewMenuItem.getActionView();
_searchView.setMaxWidth(Integer.MAX_VALUE);
Expand Down

0 comments on commit 411a677

Please sign in to comment.