Selaa lähdekoodia

reset bottom label in prepareOnReuse

cyberta 4 vuotta sitten
vanhempi
commit
b9ff1ac5c2
1 muutettua tiedostoa jossa 3 lisäystä ja 0 poistoa
  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
     }
 }