|
@@ -219,7 +219,7 @@ public class BaseMessageCell: UITableViewCell {
|
|
|
|
|
|
topCompactView = false
|
|
topCompactView = false
|
|
bottomCompactView = false
|
|
bottomCompactView = false
|
|
- isFullMessageButtonHidden = false
|
|
|
|
|
|
+ isFullMessageButtonHidden = true
|
|
|
|
|
|
|
|
|
|
let gestureRecognizer = UITapGestureRecognizer(target: self, action: #selector(onAvatarTapped))
|
|
let gestureRecognizer = UITapGestureRecognizer(target: self, action: #selector(onAvatarTapped))
|
|
@@ -297,6 +297,8 @@ public class BaseMessageCell: UITableViewCell {
|
|
avatarView.isHidden = true
|
|
avatarView.isHidden = true
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ isFullMessageButtonHidden = !msg.hasHtml
|
|
|
|
+
|
|
messageBackgroundContainer.update(rectCorners: messageStyle,
|
|
messageBackgroundContainer.update(rectCorners: messageStyle,
|
|
color: msg.isFromCurrentSender ? DcColors.messagePrimaryColor : DcColors.messageSecondaryColor)
|
|
color: msg.isFromCurrentSender ? DcColors.messagePrimaryColor : DcColors.messageSecondaryColor)
|
|
|
|
|