実装整理

This commit is contained in:
ろむねこ 2024-01-25 12:21:26 +09:00
parent 7fa3588127
commit 4ad5df6c98
No known key found for this signature in database
GPG Key ID: FA1F39A1BA37D168

View File

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