change the title back to text primary colour when failed to leave a group

This commit is contained in:
ryanzhao 2023-03-10 13:25:42 +11:00
parent 5ec51a99c6
commit bf08394ebd
1 changed files with 2 additions and 0 deletions

View File

@ -396,6 +396,8 @@ public final class FullConversationCell: UITableViewCell {
} else if cellViewModel.interactionVariant == .infoClosedGroupCurrentUserErrorLeaving {
guard let textColor: UIColor = theme.color(for: .danger) else { return }
self?.displayNameLabel.themeTextColor = .textPrimary
snippetLabel?.attributedText = self?.getSnippet(
cellViewModel: cellViewModel,
textColor: textColor