Skip to content
Snippets Groups Projects
Commit 9bbda843 authored by Johanes Lee's avatar Johanes Lee
Browse files

Merge branch 'feat/transactions' into 'dev'

Missing bracet

See merge request !13
parents 545f78ec 0552b30f
2 merge requests!46Dev,!13Missing bracet
...@@ -68,8 +68,9 @@ class ScanReceiptFragment : Fragment() { ...@@ -68,8 +68,9 @@ class ScanReceiptFragment : Fragment() {
// Set up the listeners for take photo and video capture button // Set up the listeners for take photo and video capture button
viewBinding.imageCaptureButton.setOnClickListener { takePhoto() } viewBinding.imageCaptureButton.setOnClickListener { takePhoto() }
// Set up the listeners for take photo and video capture button // Set up the listeners for take photo and video capture button
viewBinding.receiptCaptureButton.setOnClickListener{ takePhoto() } viewBinding.receiptCaptureButton.setOnClickListener { takePhoto() }
}
private fun startCamera() { private fun startCamera() {
val cameraProviderFuture = ProcessCameraProvider.getInstance(requireContext()) val cameraProviderFuture = ProcessCameraProvider.getInstance(requireContext())
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment