mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-22 07:53:15 +00:00
rootでは削除を呼べないように
This commit is contained in:
parent
841258d82a
commit
9288360eb4
|
@ -319,6 +319,8 @@ public class LibraryPageFragment extends Fragment {
|
|||
} else {
|
||||
toolbar.setNavigationIcon(null);
|
||||
}
|
||||
|
||||
if (this.folderId == null) toolbar.getMenu().findItem(R.id.menu_item_delete_folder).setVisible(false); // ルートフォルダの場合は削除ボタンを非表示にする
|
||||
toolbar.setTitle(title);
|
||||
toolbar.getMenu().clear();
|
||||
toolbar.inflateMenu(R.menu.dir_menu);
|
||||
|
|
Loading…
Reference in New Issue
Block a user