Resume camera session after taking a video if "batch mode" is enabled.

This fixes an issue where camera would freeze and eventually crash
after taking a photo.
This commit is contained in:
Igor Solomennikov 2022-03-04 18:27:18 -08:00
parent 3075179c40
commit 7c07303ccc

View File

@ -987,7 +987,9 @@ extension PhotoCaptureViewController: PhotoCaptureDelegate {
updateDoneButtonAppearance()
if !isInBatchMode {
if isInBatchMode {
resumePhotoCapture()
} else {
delegate?.photoCaptureViewControllerDidFinish(self)
}
}