Преглед на файлове

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
     }
 }