Skip to content

Commit 0d7b939

Browse files
committed
chore: Lint
1 parent cc58a67 commit 0d7b939

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

.github/workflows/build-ios.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
-scheme VisionCameraExample \
6262
-sdk iphonesimulator \
6363
-configuration Debug \
64-
-destination 'platform=iOS Simulator,name=iPhone 15' \
64+
-destination 'platform=iOS Simulator,name=iPhone 17' \
6565
build \
6666
CODE_SIGNING_ALLOWED=NO | xcpretty"
6767

package/android/src/main/cpp/frameprocessors/FrameHostObject.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ std::vector<jsi::PropNameID> FrameHostObject::getPropertyNames(jsi::Runtime& rt)
5555
return result;
5656
}
5757

58-
#define JSI_FUNC [=](jsi::Runtime & runtime, const jsi::Value& thisValue, const jsi::Value* arguments, size_t count)->jsi::Value
58+
#define JSI_FUNC [=](jsi::Runtime & runtime, const jsi::Value& thisValue, const jsi::Value* arguments, size_t count) -> jsi::Value
5959

6060
jsi::Value FrameHostObject::get(jsi::Runtime& runtime, const jsi::PropNameID& propName) {
6161
auto name = propName.utf8(runtime);

package/ios/Core/Extensions/AVCaptureDevice+isMultiCam.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ extension AVCaptureDevice {
1414
*/
1515
var isMultiCam: Bool {
1616
if #available(iOS 13.0, *) {
17-
return self.isVirtualDevice
17+
return isVirtualDevice
1818
} else {
1919
return false
2020
}

package/ios/Core/Extensions/AVCaptureDevice+neutralZoom.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ extension AVCaptureDevice {
1717
*/
1818
var neutralZoomFactor: CGFloat {
1919
if #available(iOS 13.0, *) {
20-
if let indexOfWideAngle = self.constituentDevices.firstIndex(where: { $0.deviceType == .builtInWideAngleCamera }) {
21-
if let zoomFactor = self.virtualDeviceSwitchOverVideoZoomFactors[safe: indexOfWideAngle - 1] {
20+
if let indexOfWideAngle = constituentDevices.firstIndex(where: { $0.deviceType == .builtInWideAngleCamera }) {
21+
if let zoomFactor = virtualDeviceSwitchOverVideoZoomFactors[safe: indexOfWideAngle - 1] {
2222
return CGFloat(zoomFactor.doubleValue)
2323
}
2424
}

package/ios/Core/Extensions/AVCaptureDevice+physicalDevices.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ extension AVCaptureDevice {
1414
*/
1515
var physicalDevices: [AVCaptureDevice] {
1616
if #available(iOS 13.0, *), isVirtualDevice {
17-
return self.constituentDevices
17+
return constituentDevices
1818
} else {
1919
return [self]
2020
}

package/ios/FrameProcessors/FrameHostObject.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
return result;
4141
}
4242

43-
#define JSI_FUNC [=](jsi::Runtime & runtime, const jsi::Value& thisValue, const jsi::Value* arguments, size_t count)->jsi::Value
43+
#define JSI_FUNC [=](jsi::Runtime & runtime, const jsi::Value& thisValue, const jsi::Value* arguments, size_t count) -> jsi::Value
4444

4545
jsi::Value FrameHostObject::get(jsi::Runtime& runtime, const jsi::PropNameID& propName) {
4646
auto name = propName.utf8(runtime);

0 commit comments

Comments
 (0)