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

pull/799/head
ryanzhao 2 years ago
parent 5ec51a99c6
commit bf08394ebd

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

Loading…
Cancel
Save