Explorar o código

Fix build error

onevcat %!s(int64=3) %!d(string=hai) anos
pai
achega
d8abfeb5ba
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Sources/Extensions/WKInterfaceImage+Kingfisher.swift

+ 1 - 1
Sources/Extensions/WKInterfaceImage+Kingfisher.swift

@@ -131,7 +131,7 @@ extension KingfisherWrapper where Base: WKInterfaceImage {
             with: source,
             with: source,
             options: options,
             options: options,
             downloadTaskUpdated: { mutatingSelf.imageTask = $0 },
             downloadTaskUpdated: { mutatingSelf.imageTask = $0 },
-            progressiveImageSetter: { self.base.setImage(image) },
+            progressiveImageSetter: { self.base.setImage($0) },
             referenceTaskIdentifierChecker: { issuedIdentifier == self.taskIdentifier },
             referenceTaskIdentifierChecker: { issuedIdentifier == self.taskIdentifier },
             completionHandler: { result in
             completionHandler: { result in
                 CallbackQueue.mainCurrentOrAsync.execute {
                 CallbackQueue.mainCurrentOrAsync.execute {