mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-30 16:22:39 +00:00
Some "unsent" statuses were irrelevant : Some UILabels were not dismissedw while reusing an UITableViewCell.
This commit is contained in:
parent
4a41113f88
commit
14ec52a87e
1 changed files with 1 additions and 1 deletions
|
@ -1343,7 +1343,7 @@ NSString *const kCmdResetUserPowerLevel = @"/deop";
|
|||
[cell.attachmentView removeGestureRecognizer:cell.attachmentView.gestureRecognizers[0]];
|
||||
}
|
||||
// Remove potential dateTime (or unsent) label(s)
|
||||
if (cell.dateTimeLabelContainer.constraints.count) {
|
||||
if (cell.dateTimeLabelContainer.subviews.count > 0) {
|
||||
if ([NSLayoutConstraint respondsToSelector:@selector(deactivateConstraints:)]) {
|
||||
[NSLayoutConstraint deactivateConstraints:cell.dateTimeLabelContainer.constraints];
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue