From a776f2186c08af8bd6777e3b5cd586c4f1a355b3 Mon Sep 17 00:00:00 2001 From: Andrew Balmer Date: Mon, 28 Oct 2024 14:35:01 -0400 Subject: [PATCH] fixed Xcode 15.4 build issue --- .../KlaviyoWebView/KlaviyoWebWrapperViewController.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/KlaviyoUI/KlaviyoWebView/KlaviyoWebWrapperViewController.swift b/Sources/KlaviyoUI/KlaviyoWebView/KlaviyoWebWrapperViewController.swift index a4dec177..4f9183b2 100644 --- a/Sources/KlaviyoUI/KlaviyoWebView/KlaviyoWebWrapperViewController.swift +++ b/Sources/KlaviyoUI/KlaviyoWebView/KlaviyoWebWrapperViewController.swift @@ -135,7 +135,7 @@ func createKlaviyoWebPreview(url: URL, style: KlaviyoWebWrapperStyle) -> UIViewC @available(iOS 17.0, *) #Preview("Default style") { let url = URL(string: "https://www.google.com")! - createKlaviyoWebPreview(url: url, style: .default) + return createKlaviyoWebPreview(url: url, style: .default) } @available(iOS 17.0, *) @@ -147,6 +147,6 @@ func createKlaviyoWebPreview(url: URL, style: KlaviyoWebWrapperStyle) -> UIViewC cornerRadius: 24, shadowStyle: .default) - createKlaviyoWebPreview(url: url, style: style) + return createKlaviyoWebPreview(url: url, style: style) } #endif