We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b41e2dc commit 193f88eCopy full SHA for 193f88e
SwiftDraw/Sources/CanvasUIView.swift
@@ -29,7 +29,7 @@
29
// 3. This notice may not be removed or altered from any source distribution.
30
//
31
32
-#if canImport(UIKit)
+#if canImport(UIKit) && !os(watchOS)
33
import UIKit
34
import SwiftUI
35
SwiftDraw/Sources/SVGView.swift
@@ -98,11 +98,13 @@ public struct SVGView: View {
98
)
99
}
100
} else {
101
+ #if !os(watchOS)
102
CanvasFallbackView(
103
svg: svg,
104
capInsets: capInsets,
105
resizingMode: resizingMode
106
107
+ #endif
108
109
110
0 commit comments