Sfoglia il codice sorgente

fix wrong image below a gif gets loaded on tableview creation

cyberta 4 anni fa
parent
commit
23979ff66a
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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
     }
 }