onevcat 10 лет назад
Родитель
Сommit
5799a91183
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      Sources/Kingfisher/ImageView+Kingfisher.swift

+ 1 - 1
Sources/Kingfisher/ImageView+Kingfisher.swift

@@ -217,7 +217,7 @@ extension ImageView {
                     sSelf.kf_setImageTask(nil)
                     sSelf.kf_setImageTask(nil)
                     
                     
                     guard let image = image else {
                     guard let image = image else {
-                        indicator?.stopAnimating()
+                        indicator?.kf_stopAnimating()
                         completionHandler?(image: nil, error: error, cacheType: cacheType, imageURL: imageURL)
                         completionHandler?(image: nil, error: error, cacheType: cacheType, imageURL: imageURL)
                         return
                         return
                     }
                     }