End capture process correctly in case of error

This commit is contained in:
Pierre-Yves Nicolas
2025-06-22 12:08:57 +02:00
parent f550683786
commit 87a8d39669

View File

@@ -144,6 +144,8 @@ fun CameraScreen(
}
} else {
Log.e("MyScan", "Error during image capture")
isProcessing.value = false
viewModel.liveAnalysisEnabled = true
}
}
)