From 3bd25deb8e0fccda81df0c8ddfd5b91f57932779 Mon Sep 17 00:00:00 2001 From: Ignacio Tischelman <114942102+NachoEmbrace@users.noreply.github.com> Date: Tue, 10 Dec 2024 15:58:50 -0300 Subject: [PATCH] Updating CaptureServiceBuilder API (#146) --- Sources/EmbraceIO/Capture/CaptureService+Helpers.swift | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Sources/EmbraceIO/Capture/CaptureService+Helpers.swift b/Sources/EmbraceIO/Capture/CaptureService+Helpers.swift index b595fa2e..9c6bf6f5 100644 --- a/Sources/EmbraceIO/Capture/CaptureService+Helpers.swift +++ b/Sources/EmbraceIO/Capture/CaptureService+Helpers.swift @@ -24,8 +24,10 @@ import EmbraceCaptureService } /// Returns a `ViewCaptureService`. - static func view() -> ViewCaptureService { - return ViewCaptureService() + static func view( + options: ViewCaptureService.Options = ViewCaptureService.Options() + ) -> ViewCaptureService { + return ViewCaptureService(options: options) } #endif