From 004bedb45f4c7795bda1ae6949ebaacf7757f1df Mon Sep 17 00:00:00 2001 From: r-ca Date: Mon, 22 Jan 2024 23:35:30 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=95=E3=82=A9=E3=83=AB=E3=83=80=E3=82=92?= =?UTF-8?q?=E6=AD=A3=E5=B8=B8=E3=81=AB=E5=8F=96=E5=BE=97=E3=81=A7=E3=81=8D?= =?UTF-8?q?=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB,=20=E4=BD=9C=E6=88=90?= =?UTF-8?q?=E3=81=A7=E3=81=8D=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../nem/lacerta/feature/library/LibraryPageFragment.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/feature/library/src/main/java/one/nem/lacerta/feature/library/LibraryPageFragment.java b/feature/library/src/main/java/one/nem/lacerta/feature/library/LibraryPageFragment.java index 4566b638..2317d84b 100644 --- a/feature/library/src/main/java/one/nem/lacerta/feature/library/LibraryPageFragment.java +++ b/feature/library/src/main/java/one/nem/lacerta/feature/library/LibraryPageFragment.java @@ -137,6 +137,9 @@ public class LibraryPageFragment extends Fragment { this.libraryItemPage = new LibraryItemPage(); } + // Toolbar Setup + toolbarSetup(view.findViewById(R.id.library_toolbar), this.folderId != null, this.title != null ? this.title : "ライブラリ"); + // RecyclerView Setup RecyclerView recyclerView = view.findViewById(R.id.library_item_recycler_view); @@ -219,9 +222,8 @@ public class LibraryPageFragment extends Fragment { * @param toolbar Toolbar * @param showBackButton 戻るボタンを表示するか * @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(() -> { if (showBackButton) { toolbar.setNavigationIcon(one.nem.lacerta.shared.ui.R.drawable.arrow_back_24px);