SwiftLint: Fix force_cast
This commit is contained in:
@@ -92,6 +92,7 @@ final class CameraView: UIView {
|
||||
|
||||
/// Convenience wrapper to get layer as its statically known type.
|
||||
var videoPreviewLayer: AVCaptureVideoPreviewLayer {
|
||||
// swiftlint:disable force_cast
|
||||
return layer as! AVCaptureVideoPreviewLayer
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user