瀏覽代碼

fix wrong image below a gif gets loaded on tableview creation

cyberta 4 年之前
父節點
當前提交
23979ff66a
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      deltachat-ios/Chat/Views/Cells/ImageTextCell.swift

+ 1 - 0
deltachat-ios/Chat/Views/Cells/ImageTextCell.swift

@@ -165,6 +165,7 @@ class ImageTextCell: BaseMessageCell {
 
     override func prepareForReuse() {
         contentImageView.image = nil
+        contentImageView.sd_cancelCurrentImageLoad()
         tag = -1
     }
 }