mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2026-11-02 03:35:54 +00:00
rootでは削除を呼べないように
This commit is contained in:
1 file changed
+2
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user