Commit 19093e0b authored by Andreas Traczyk's avatar Andreas Traczyk Committed by Kateryna Kostiuk

conversations: round all corners on data transfer messages

Change-Id: Ifa7dcbffdc5f2bc6a956fed78036b94b0121d693
Reviewed-by: Kateryna Kostiuk's avatarKateryna Kostiuk <kateryna.kostiuk@savoirfairelinux.com>
parent ba257b50
......@@ -216,16 +216,16 @@ class MessageCell: UITableViewCell, NibReusable {
switch item.sequencing {
case .middleOfSequence:
self.topCorner.isHidden = false
self.bottomCorner.isHidden = false
self.topCorner.isHidden = item.isTransfer
self.bottomCorner.isHidden = item.isTransfer
self.bubbleBottomConstraint.constant = 1
self.bubbleTopConstraint.constant = item.timeStringShown != nil ? 32 : 1
case .firstOfSequence:
self.bottomCorner.isHidden = false
self.bottomCorner.isHidden = item.isTransfer
self.bubbleBottomConstraint.constant = 1
self.bubbleTopConstraint.constant = item.timeStringShown != nil ? 32 : 8
case .lastOfSequence:
self.topCorner.isHidden = false
self.topCorner.isHidden = item.isTransfer
self.bubbleTopConstraint.constant = item.timeStringShown != nil ? 32 : 1
default: break
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment