Little code garden

This commit is contained in:
DreamPiggy 2023-11-29 16:10:17 +08:00
parent a448bbe47d
commit 71ce58eec4
1 changed files with 1 additions and 5 deletions

View File

@ -178,11 +178,7 @@ public struct AnimatedImage : PlatformViewRepresentable {
_imageModel = ObservedObject(wrappedValue: imageModel) _imageModel = ObservedObject(wrappedValue: imageModel)
} }
#if os(macOS) public typealias PlatformViewType = AnimatedImageViewWrapper
public typealias NSViewType = AnimatedImageViewWrapper
#else
public typealias UIViewType = AnimatedImageViewWrapper
#endif
public typealias Coordinator = AnimatedImageCoordinator public typealias Coordinator = AnimatedImageCoordinator