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 a59d24cf..506fe2d7 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 @@ -185,7 +185,7 @@ public class LibraryPageFragment extends Fragment { if (showBackButton) { toolbar.setNavigationIcon(one.nem.lacerta.shared.ui.R.drawable.arrow_back_24px); toolbar.setNavigationOnClickListener(v -> { - this.publicPath = new PublicPath().parse(this.publicPath).resolve("..").getStringPath(); + this.publicPath = new PublicPath().parse(this.publicPath).parent().getStringPath(); getParentFragmentManager().popBackStack(); }); } else {