File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -365,9 +365,8 @@ open class MessageContentCell: MessageCollectionViewCell {
365365 open func layoutTimeLabelView( with attributes: MessagesCollectionViewLayoutAttributes ) {
366366 let paddingLeft : CGFloat = 10
367367 let origin = CGPoint (
368- x: UIScreen . main. bounds. width + paddingLeft,
369- y: messageContainerView. frame. minY + messageContainerView. frame. height * 0.5 - messageTimestampLabel
370- . font. ascender * 0.5 )
368+ x: self . frame. maxX + paddingLeft,
369+ y: messageContainerView. frame. minY + messageContainerView. frame. height * 0.5 - messageTimestampLabel. font. ascender * 0.5 )
371370 let size = CGSize ( width: attributes. messageTimeLabelSize. width, height: attributes. messageTimeLabelSize. height)
372371 messageTimestampLabel. frame = CGRect ( origin: origin, size: size)
373372 }
You can’t perform that action at this time.
0 commit comments