Jelajahi Sumber

Fix the wrong target versions

onevcat 2 tahun lalu
induk
melakukan
7c0486d00f
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      Sources/SwiftUI/KFAnimatedImage.swift

+ 2 - 2
Sources/SwiftUI/KFAnimatedImage.swift

@@ -28,7 +28,7 @@
 import SwiftUI
 import SwiftUI
 import Combine
 import Combine
 
 
-@available(iOS 14.0, tvOS 14.0, watchOS 7.0, *)
+@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *)
 public struct KFAnimatedImage: KFImageProtocol {
 public struct KFAnimatedImage: KFImageProtocol {
     public typealias HoldingView = KFAnimatedImageViewRepresenter
     public typealias HoldingView = KFAnimatedImageViewRepresenter
     public var context: Context<HoldingView>
     public var context: Context<HoldingView>
@@ -103,7 +103,7 @@ public struct KFAnimatedImageViewRepresenter: KFCrossPlatformViewRepresentable,
 }
 }
 
 
 #if DEBUG
 #if DEBUG
-@available(iOS 14.0, tvOS 14.0, watchOS 7.0, *)
+@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *)
 struct KFAnimatedImage_Previews: PreviewProvider {
 struct KFAnimatedImage_Previews: PreviewProvider {
     static var previews: some View {
     static var previews: some View {
         Group {
         Group {