We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdc0450 commit 3be2fc8Copy full SHA for 3be2fc8
Sources/Controllers/CameraViewController.swift
@@ -275,8 +275,11 @@ public final class CameraViewController: UIViewController {
275
276
/// Performs focus view animation.
277
private func animateFocusView() {
278
+ // Restore to initial state
279
focusView.layer.removeAllAnimations()
- focusView.isHidden = false
280
+ animatedFocusViewConstraints.deactivate()
281
+ regularFocusViewConstraints.activate()
282
+ view.layoutIfNeeded()
283
284
guard barCodeFocusViewType == .animated else {
285
return
0 commit comments