瀏覽代碼

reset bottom label in prepareOnReuse

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

+ 3 - 0
deltachat-ios/Chat/Views/Cells/BaseMessageCell.swift

@@ -178,7 +178,10 @@ public class BaseMessageCell: UITableViewCell {
         textLabel?.text = nil
         textLabel?.attributedText = nil
         topLabel.text = nil
+        topLabel.attributedText = nil
         avatarView.reset()
         messageBackgroundContainer.prepareForReuse()
+        bottomLabel.text = nil
+        bottomLabel.attributedText = nil
     }
 }