From e1bc6466e76cdc055c20f62faabb383c688888cd Mon Sep 17 00:00:00 2001 From: r-ca Date: Sun, 28 Jan 2024 13:29:04 +0900 Subject: [PATCH] =?UTF-8?q?Toolbar=E3=81=AEinit=E3=82=92=E8=B5=B7=E5=8B=95?= =?UTF-8?q?=E6=99=82=E5=91=BC=E3=81=B3=E5=87=BA=E3=81=99=E3=82=88=E3=81=86?= =?UTF-8?q?=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../nem/lacerta/component/viewer/ViewerContainerFragment.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/component/viewer/src/main/java/one/nem/lacerta/component/viewer/ViewerContainerFragment.java b/component/viewer/src/main/java/one/nem/lacerta/component/viewer/ViewerContainerFragment.java index 7944b743..7f0b8f2c 100644 --- a/component/viewer/src/main/java/one/nem/lacerta/component/viewer/ViewerContainerFragment.java +++ b/component/viewer/src/main/java/one/nem/lacerta/component/viewer/ViewerContainerFragment.java @@ -99,6 +99,10 @@ public class ViewerContainerFragment extends Fragment { ViewerViewPagerAdapter viewerViewPagerAdapter = new ViewerViewPagerAdapter(requireActivity()); viewPager.setAdapter(viewerViewPagerAdapter); + // Init toolbar + Toolbar toolbar = view.findViewById(R.id.toolbar); + initToolbar(toolbar, true, documentName); + if (this.hasCombined) { lacertaLibrary.getCombinedDocumentToxiList(documentId).thenAccept(combinedDocumentToxiList -> { for (ToxiDocumentModel toxiDocumentModel : combinedDocumentToxiList) {