From 52087c3b9ef59eacbd77eeb4aeec3864ca21ec3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=8D=E3=82=80=E3=81=AD=E3=81=93?= Date: Tue, 12 Dec 2023 10:09:17 +0900 Subject: [PATCH] =?UTF-8?q?Fix,=20=E3=83=95=E3=82=A1=E3=82=A4=E3=83=AB?= =?UTF-8?q?=E3=83=91=E3=82=B9=E7=A2=BA=E8=AA=8D=E3=81=97=E3=81=A6=E3=81=BF?= =?UTF-8?q?=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/one/nem/lacerta/feature/debug/DebugMenuFragment.java | 4 ++++ .../lacerta/feature/debug/DebugSharedPrefEditorFragment.java | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) 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;