Przeglądaj źródła

changes @available scope

Steve Kellock 4 lat temu
rodzic
commit
493092f3e2
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      Sources/General/KF.swift

+ 1 - 1
Sources/General/KF.swift

@@ -223,7 +223,7 @@ extension KF.Builder {
     ///   - listItem: The list item which loads the task and should be set with the image.
     /// - Returns: A task represents the image downloading, if initialized.
     ///            This value is `nil` if the image is being loaded from cache.
-    @available(iOSApplicationExtension 14.0, *)
+    @available(iOS 14.0, *)
     @discardableResult
     public func set(to listItem: CPListItem) -> DownloadTask? {
         let placeholderImage = placeholder as? KFCrossPlatformImage ?? nil