diff --git a/component/scanner/src/main/java/one/nem/lacerta/component/scanner/ScannerDatabaManagerStubFragment.java b/component/scanner/src/main/java/one/nem/lacerta/component/scanner/ScannerDatabaManagerStubFragment.java index e533ddb8..644e5447 100644 --- a/component/scanner/src/main/java/one/nem/lacerta/component/scanner/ScannerDatabaManagerStubFragment.java +++ b/component/scanner/src/main/java/one/nem/lacerta/component/scanner/ScannerDatabaManagerStubFragment.java @@ -66,10 +66,7 @@ public class ScannerDatabaManagerStubFragment extends Fragment { super.onViewCreated(view, savedInstanceState); view.findViewById(R.id.button_call_camera).setOnClickListener(v -> { - Intent takePictureIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE); - if (takePictureIntent.resolveActivity(requireActivity().getPackageManager()) != null) { - cameraLauncher.launch(takePictureIntent); - } + }); } } \ No newline at end of file