Try to fix snippet alignment in conversation list view cells.

This commit is contained in:
Matthew Chen 2021-07-07 12:36:24 -03:00
parent 6607c4c7b8
commit 7fa72bc8fe

View File

@ -294,7 +294,7 @@ public class ConversationListCell: UITableViewCell {
let snippetFrame = CGRect(x: 0,
y: 0,
width: view.width,
height: ceil(snippetSize.height))
height: min(view.bounds.height, ceil(snippetSize.height)))
self.snippetLabel.frame = snippetFrame
}
let typingIndicatorSize = TypingIndicatorView.measurement().measuredSize