ソースを参照

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