From 2fecb270e620e02cae483dc4f5db11618ba3c2bd Mon Sep 17 00:00:00 2001 From: Matthew Chen Date: Thu, 9 Aug 2018 10:55:38 -0400 Subject: [PATCH] Cache footer timestamp size. --- .../ConversationView/Cells/OWSMessageFooterView.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Signal/src/ViewControllers/ConversationView/Cells/OWSMessageFooterView.m b/Signal/src/ViewControllers/ConversationView/Cells/OWSMessageFooterView.m index 73effa78d..3aae464db 100644 --- a/Signal/src/ViewControllers/ConversationView/Cells/OWSMessageFooterView.m +++ b/Signal/src/ViewControllers/ConversationView/Cells/OWSMessageFooterView.m @@ -4,6 +4,7 @@ #import "OWSMessageFooterView.h" #import "DateUtil.h" +#import "OWSLabel.h" #import "OWSMessageTimerView.h" #import "Signal-Swift.h" #import @@ -48,7 +49,7 @@ NS_ASSUME_NONNULL_BEGIN [self addArrangedSubview:leftStackView]; [leftStackView setContentHuggingHigh]; - self.timestampLabel = [UILabel new]; + self.timestampLabel = [OWSLabel new]; [leftStackView addArrangedSubview:self.timestampLabel]; self.messageTimerView = [OWSMessageTimerView new];