フォルダを正常に取得できるように, 作成できるように

This commit is contained in:
r-ca 2024-01-22 23:35:30 +09:00
parent de30eb241c
commit 004bedb45f
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9

View File

@ -137,6 +137,9 @@ public class LibraryPageFragment extends Fragment {
this.libraryItemPage = new LibraryItemPage(); this.libraryItemPage = new LibraryItemPage();
} }
// Toolbar Setup
toolbarSetup(view.findViewById(R.id.library_toolbar), this.folderId != null, this.title != null ? this.title : "ライブラリ");
// RecyclerView Setup // RecyclerView Setup
RecyclerView recyclerView = view.findViewById(R.id.library_item_recycler_view); RecyclerView recyclerView = view.findViewById(R.id.library_item_recycler_view);
@ -219,9 +222,8 @@ public class LibraryPageFragment extends Fragment {
* @param toolbar Toolbar * @param toolbar Toolbar
* @param showBackButton 戻るボタンを表示するか * @param showBackButton 戻るボタンを表示するか
* @param title タイトル * @param title タイトル
* @param subtitle サブタイトル
*/ */
private void toolbarSetup(Toolbar toolbar, boolean showBackButton, String title, String subtitle) { private void toolbarSetup(Toolbar toolbar, boolean showBackButton, String title) {
getActivity().runOnUiThread(() -> { getActivity().runOnUiThread(() -> {
if (showBackButton) { if (showBackButton) {
toolbar.setNavigationIcon(one.nem.lacerta.shared.ui.R.drawable.arrow_back_24px); toolbar.setNavigationIcon(one.nem.lacerta.shared.ui.R.drawable.arrow_back_24px);