mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-04-18 13:02:06 +00:00
Merge pull request #1548 from alexbakker/fix-menu-button-state
Fix state updates for the lock and sort menu items
This commit is contained in:
commit
411a677fbf
1 changed files with 3 additions and 0 deletions
|
@ -928,6 +928,9 @@ public class MainActivity extends AegisActivity implements EntryListView.Listene
|
|||
_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);
|
||||
|
|
Loading…
Add table
Reference in a new issue