Skip to content

Commit db8e2b6

Browse files
committed
Little code garden
1 parent d1fce84 commit db8e2b6

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

SDWebImageSwiftUI/Classes/AnimatedImage.swift

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -178,11 +178,7 @@ public struct AnimatedImage : PlatformViewRepresentable {
178178
_imageModel = ObservedObject(wrappedValue: imageModel)
179179
}
180180

181-
#if os(macOS)
182-
public typealias NSViewType = AnimatedImageViewWrapper
183-
#else
184-
public typealias UIViewType = AnimatedImageViewWrapper
185-
#endif
181+
public typealias PlatformViewType = AnimatedImageViewWrapper
186182

187183
public typealias Coordinator = AnimatedImageCoordinator
188184

0 commit comments

Comments
 (0)