소스 검색

Remove incorrect watchOS available declare

onevcat 9 달 전
부모
커밋
28818da8fd
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      Sources/SwiftUI/ImageContext.swift
  2. 1 1
      Sources/SwiftUI/KFAnimatedImage.swift

+ 1 - 1
Sources/SwiftUI/ImageContext.swift

@@ -132,7 +132,7 @@ extension KFImage.Context: Hashable {
 }
 
 #if !os(watchOS)
-@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *)
+@available(iOS 14.0, macOS 11.0, tvOS 14.0, *)
 extension KFAnimatedImage {
     public typealias Context = KFImage.Context
     typealias ImageBinder = KFImage.ImageBinder

+ 1 - 1
Sources/SwiftUI/KFAnimatedImage.swift

@@ -28,7 +28,7 @@
 import SwiftUI
 import Combine
 
-@available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *)
+@available(iOS 14.0, macOS 11.0, tvOS 14.0, *)
 public struct KFAnimatedImage: KFImageProtocol {
     public typealias HoldingView = KFAnimatedImageViewRepresenter
     public var context: Context<HoldingView>