dokun1/Lumina

camera does not return to continuous autofocus after tap to focus

Closed this issue · 0 comments

Describe the bug
camera does not return to continuous autofocus after tap to focus
In the FocusHandlerExtension:
func resetCameraToContinuousExposureAndFocus() {

the code checks for whether continuous autofocus is supported, then locks config, set it to autofocus (not continuous), and unlocks. Looks like a simple typo.

To Reproduce
Steps to reproduce the behavior:
Tap to autofocus on a point of interest, wait one second.

Expected behavior
It should return to continuous autofocus mode after one second

Screenshots

Smartphone (please complete the following information):
iPhone X, iOS 13.1
iPhone Xs Max, iOS 12.2

Additional context
I will submit a PR with the one-line fix.