Skip to content

Commit

Permalink
Merge pull request #4 from YanSteph/patch-1
Browse files Browse the repository at this point in the history
Preview XCode failed
  • Loading branch information
rorodriguez116 authored Mar 7, 2021
2 parents ca98997 + 8959787 commit 2b72809
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Camera-SwiftUI/View/CameraPreview.swift
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public struct CameraPreview: UIViewRepresentable {
self.focusView.layer.frame = CGRect(origin: layerPoint, size: CGSize(width: 50, height: 50))


NotificationCenter.default.post(.init(name: .init("UserDidRequestNewFocusPoint"), object: nil, userInfo: ["devicePoint": devicePoint]))
NotificationCenter.default.post(.init(name: .init("UserDidRequestNewFocusPoint"), object: nil, userInfo: ["devicePoint": devicePoint] as [AnyHashable: Any]))

UIView.animate(withDuration: 0.3, animations: {
self.focusView.layer.opacity = 1
Expand Down

0 comments on commit 2b72809

Please sign in to comment.