This commit is contained in:
ろむねこ 2024-01-22 19:22:24 +09:00
parent e77fafc108
commit bc304f8535
No known key found for this signature in database
GPG Key ID: FA1F39A1BA37D168

View File

@ -185,7 +185,7 @@ public class LibraryPageFragment extends Fragment {
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);
toolbar.setNavigationOnClickListener(v -> { toolbar.setNavigationOnClickListener(v -> {
this.publicPath = new PublicPath().parse(this.publicPath).resolve("..").getStringPath(); this.publicPath = new PublicPath().parse(this.publicPath).parent().getStringPath();
getParentFragmentManager().popBackStack(); getParentFragmentManager().popBackStack();
}); });
} else { } else {