Skip to content

Commit fb7d391

Browse files
committed
Rmove the unused cross-platforms alias
1 parent bbf6d59 commit fb7d391

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

SDWebImageSwiftUI/Classes/SDWebImageSwiftUI.swift

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,11 @@ public typealias PlatformView = WKInterfaceObject
3636
#endif
3737

3838
#if os(macOS)
39-
typealias PlatformViewRepresentable = NSViewRepresentable
40-
typealias PlatformViewRepresentableContext = NSViewRepresentableContext
39+
public typealias PlatformViewRepresentable = NSViewRepresentable
4140
#endif
4241
#if os(iOS) || os(tvOS)
43-
typealias PlatformViewRepresentable = UIViewRepresentable
44-
typealias PlatformViewRepresentableContext = UIViewRepresentableContext
42+
public typealias PlatformViewRepresentable = UIViewRepresentable
4543
#endif
4644
#if os(watchOS)
47-
typealias PlatformViewRepresentable = WKInterfaceObjectRepresentable
48-
typealias PlatformViewRepresentableContext = WKInterfaceObjectRepresentableContext
45+
public typealias PlatformViewRepresentable = WKInterfaceObjectRepresentable
4946
#endif

0 commit comments

Comments
 (0)