@@ -152,7 +152,7 @@ class CameraView: UIViewController, CLLocationManagerDelegate, CameraManDelegate
152152 }
153153
154154 func setupPreviewLayer( ) {
155- let layer = AVCaptureVideoPreviewLayer ( session: cameraMan. session)
155+ let layer = AVCaptureVideoPreviewLayer ( session: cameraMan. session)
156156
157157 layer. backgroundColor = configuration. mainColor. cgColor
158158 layer. autoreverses = true
@@ -196,7 +196,7 @@ class CameraView: UIViewController, CLLocationManagerDelegate, CameraManDelegate
196196 // MARK: - Camera actions
197197
198198 func rotateCamera( ) {
199- UIView . animate ( withDuration: 0.3 , animations: {
199+ UIView . animate ( withDuration: 0.3 , animations: {
200200 self . containerView. alpha = 1
201201 } , completion: { _ in
202202 self . cameraMan. switchCamera {
@@ -252,7 +252,7 @@ class CameraView: UIViewController, CLLocationManagerDelegate, CameraManDelegate
252252 cameraMan. focus ( convertedPoint)
253253
254254 focusImageView. center = point
255- UIView . animate ( withDuration: 0.5 , animations: {
255+ UIView . animate ( withDuration: 0.5 , animations: {
256256 self . focusImageView. alpha = 1
257257 self . focusImageView. transform = CGAffineTransform ( scaleX: 0.6 , y: 0.6 )
258258 } , completion: { _ in
0 commit comments