mirror of
https://github.com/wahyd4/Yep.git
synced 2026-08-26 05:05:52 +10:00
textColor for message.deletedByCreator
This commit is contained in:
@@ -65,6 +65,13 @@ class ChatLeftTextCell: ChatBaseCell {
|
||||
self.user = message.fromFriend
|
||||
|
||||
textContentTextView.text = message.textContent
|
||||
|
||||
if message.deletedByCreator {
|
||||
textContentTextView.textColor = UIColor.lightGrayColor()
|
||||
} else {
|
||||
textContentTextView.textColor = UIColor.blackColor()
|
||||
}
|
||||
|
||||
//textContentTextView.attributedText = NSAttributedString(string: message.textContent, attributes: textAttributes)
|
||||
|
||||
//textContentTextView.textAlignment = textContentLabelWidth < YepConfig.minMessageTextLabelWidth ? .Center : .Left
|
||||
|
||||
Reference in New Issue
Block a user