From 7fa72bc8feb07c0b3d290beb5db47c5c5a7690d3 Mon Sep 17 00:00:00 2001 From: Matthew Chen Date: Wed, 7 Jul 2021 12:36:24 -0300 Subject: [PATCH] Try to fix snippet alignment in conversation list view cells. --- Signal/src/ViewControllers/HomeView/ConversationListCell.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Signal/src/ViewControllers/HomeView/ConversationListCell.swift b/Signal/src/ViewControllers/HomeView/ConversationListCell.swift index 6051119467..4abc94d10b 100644 --- a/Signal/src/ViewControllers/HomeView/ConversationListCell.swift +++ b/Signal/src/ViewControllers/HomeView/ConversationListCell.swift @@ -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