From a5d52c42032c923b12e8512138dacce3f0601a1b Mon Sep 17 00:00:00 2001 From: Matthew Chen Date: Mon, 25 Jun 2018 15:09:45 -0400 Subject: [PATCH] Clean up ahead of PR. --- .../ViewControllers/ConversationView/Cells/OWSMessageCell.m | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Signal/src/ViewControllers/ConversationView/Cells/OWSMessageCell.m b/Signal/src/ViewControllers/ConversationView/Cells/OWSMessageCell.m index ca8968ab5..39729d483 100644 --- a/Signal/src/ViewControllers/ConversationView/Cells/OWSMessageCell.m +++ b/Signal/src/ViewControllers/ConversationView/Cells/OWSMessageCell.m @@ -185,8 +185,10 @@ NS_ASSUME_NONNULL_BEGIN if ([self updateAvatarView]) { CGFloat avatarBottomMargin = round(self.layoutInfo.lastTextLineAxis - self.avatarSize * 0.5f); [self.viewConstraints addObjectsFromArray:@[ + // V-align the "group sender" avatar with the + // last line of the text (if any, or where it + // would be). [self.messageBubbleView autoPinLeadingToTrailingEdgeOfView:self.avatarView offset:8], - // TODO: We actually want a slightly different alignment. [self.messageBubbleView autoPinEdge:ALEdgeBottom toEdge:ALEdgeBottom ofView:self.avatarView