Эх сурвалжийг харах

reset bottom label in prepareOnReuse

cyberta 4 жил өмнө
parent
commit
b9ff1ac5c2

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