End capture process correctly in case of error
This commit is contained in:
@@ -144,6 +144,8 @@ fun CameraScreen(
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
Log.e("MyScan", "Error during image capture")
|
Log.e("MyScan", "Error during image capture")
|
||||||
|
isProcessing.value = false
|
||||||
|
viewModel.liveAnalysisEnabled = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user