diff --git a/component/viewer/src/main/java/one/nem/lacerta/component/viewer/ViewerListFragment.java b/component/viewer/src/main/java/one/nem/lacerta/component/viewer/ViewerListFragment.java index dfb89289..be566e6a 100644 --- a/component/viewer/src/main/java/one/nem/lacerta/component/viewer/ViewerListFragment.java +++ b/component/viewer/src/main/java/one/nem/lacerta/component/viewer/ViewerListFragment.java @@ -1,6 +1,5 @@ package one.nem.lacerta.component.viewer; -import android.app.AlertDialog; import android.os.Bundle; import androidx.appcompat.widget.Toolbar; @@ -20,9 +19,9 @@ import java.util.ArrayList; import javax.inject.Inject; import dagger.hilt.android.AndroidEntryPoint; +import one.nem.lacerta.component.common.LacertaSelectDirDialog; import one.nem.lacerta.data.Document; import one.nem.lacerta.model.document.page.Page; -import one.nem.lacerta.shared.ui.LacertaSelectDirDialog; import one.nem.lacerta.utils.FeatureSwitch; import one.nem.lacerta.utils.LacertaLogger; import one.nem.lacerta.vcs.LacertaVcs; @@ -206,9 +205,8 @@ public class ViewerListFragment extends Fragment { return true; } else if (item.getItemId() == R.id.action_move) { // Toast.makeText(getContext(), "Work in progress", Toast.LENGTH_SHORT).show(); - LacertaSelectDirDialog lacertaSelectDirDialog = new LacertaSelectDirDialog(); - lacertaSelectDirDialog.show(getParentFragmentManager(), "selectDirDialog"); + lacertaSelectDirDialog.show(getParentFragmentManager(), "LacertaSelectDirDialog"); return true; } else { return false;