Selaa lähdekoodia

fix wrong image below a gif gets loaded on tableview creation

cyberta 4 vuotta sitten
vanhempi
commit
23979ff66a
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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
     }
 }