diff --git a/feature/debug/src/main/java/one/nem/lacerta/feature/debug/DebugMenuFragment.java b/feature/debug/src/main/java/one/nem/lacerta/feature/debug/DebugMenuFragment.java index ec5cc9a6..c9fad449 100644 --- a/feature/debug/src/main/java/one/nem/lacerta/feature/debug/DebugMenuFragment.java +++ b/feature/debug/src/main/java/one/nem/lacerta/feature/debug/DebugMenuFragment.java @@ -77,5 +77,9 @@ public class DebugMenuFragment extends Fragment { view.findViewById(R.id.btn_debug_menu_call_play_ground).setOnClickListener( v -> { Navigation.findNavController(view).navigate(R.id.action_debugMenuFragment_to_debugPlayGroundFragment); }); + + view.findViewById(R.id.btn_debug_menu_get_external_path).setOnClickListener( v -> { + Toast.makeText(getContext(), getContext().getExternalFilesDir(null).toPath().toString(), Toast.LENGTH_SHORT).show(); + }); } } \ No newline at end of file diff --git a/feature/debug/src/main/java/one/nem/lacerta/feature/debug/DebugSharedPrefEditorFragment.java b/feature/debug/src/main/java/one/nem/lacerta/feature/debug/DebugSharedPrefEditorFragment.java index c3bb6ad7..79100cf3 100644 --- a/feature/debug/src/main/java/one/nem/lacerta/feature/debug/DebugSharedPrefEditorFragment.java +++ b/feature/debug/src/main/java/one/nem/lacerta/feature/debug/DebugSharedPrefEditorFragment.java @@ -18,7 +18,6 @@ import org.w3c.dom.Text; import java.util.Map; import one.nem.lacerta.data.model.shared_pref.enums.SharedPrefType; -import one.nem.lacerta.source.pref.repository.Common; //TODO-rca: 名前変えるべきかも import one.nem.lacerta.data.repository.SharedPref; @@ -34,9 +33,6 @@ import dagger.hilt.android.AndroidEntryPoint; @AndroidEntryPoint public class DebugSharedPrefEditorFragment extends Fragment { - @Inject - Common prefCommon; - @Inject SharedPref sharedPref;