chore: Lint Swift
This commit is contained in:
parent
c078cdf933
commit
c5979688c8
@ -23,7 +23,7 @@ extension AVCaptureDevice.Format {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// compare video dimensions
|
// compare video dimensions
|
||||||
let leftVideo = self.videoDimensions
|
let leftVideo = videoDimensions
|
||||||
let rightVideo = other.videoDimensions
|
let rightVideo = other.videoDimensions
|
||||||
if leftVideo.height * leftVideo.width > rightVideo.height * rightVideo.width {
|
if leftVideo.height * leftVideo.width > rightVideo.height * rightVideo.width {
|
||||||
return true
|
return true
|
||||||
|
@ -6,8 +6,8 @@
|
|||||||
// Copyright © 2021 mrousavy. All rights reserved.
|
// Copyright © 2021 mrousavy. All rights reserved.
|
||||||
//
|
//
|
||||||
|
|
||||||
import Foundation
|
|
||||||
import AVFoundation
|
import AVFoundation
|
||||||
|
import Foundation
|
||||||
|
|
||||||
extension AVCaptureDevice.Format {
|
extension AVCaptureDevice.Format {
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user