Browse Source

fix wrong image below a gif gets loaded on tableview creation

cyberta 4 years ago
parent
commit
23979ff66a
1 changed files with 1 additions and 0 deletions
  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() {
     override func prepareForReuse() {
         contentImageView.image = nil
         contentImageView.image = nil
+        contentImageView.sd_cancelCurrentImageLoad()
         tag = -1
         tag = -1
     }
     }
 }
 }