From e8b8aab90e446f69260d551a1f1c7164d2a3c8f7 Mon Sep 17 00:00:00 2001 From: alemannosara Date: Thu, 12 Jan 2023 17:42:32 +0100 Subject: [PATCH] Fix SwiftUI import (#13) --- Sources/Qit/Extensions/SwiftUI/View+ConditionalModifier.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Sources/Qit/Extensions/SwiftUI/View+ConditionalModifier.swift b/Sources/Qit/Extensions/SwiftUI/View+ConditionalModifier.swift index 8234504..ee9b716 100644 --- a/Sources/Qit/Extensions/SwiftUI/View+ConditionalModifier.swift +++ b/Sources/Qit/Extensions/SwiftUI/View+ConditionalModifier.swift @@ -6,6 +6,7 @@ // Copyright © 2022 QoQa Services SA. All rights reserved. // +#if canImport(SwiftUI) import SwiftUI @available(iOS 13.0, *) @@ -30,3 +31,4 @@ extension View { } } } +#endif