Cache footer timestamp size.

pull/1/head
Matthew Chen 7 years ago
parent c91bc71ebd
commit 2fecb270e6

@ -4,6 +4,7 @@
#import "OWSMessageFooterView.h" #import "OWSMessageFooterView.h"
#import "DateUtil.h" #import "DateUtil.h"
#import "OWSLabel.h"
#import "OWSMessageTimerView.h" #import "OWSMessageTimerView.h"
#import "Signal-Swift.h" #import "Signal-Swift.h"
#import <QuartzCore/QuartzCore.h> #import <QuartzCore/QuartzCore.h>
@ -48,7 +49,7 @@ NS_ASSUME_NONNULL_BEGIN
[self addArrangedSubview:leftStackView]; [self addArrangedSubview:leftStackView];
[leftStackView setContentHuggingHigh]; [leftStackView setContentHuggingHigh];
self.timestampLabel = [UILabel new]; self.timestampLabel = [OWSLabel new];
[leftStackView addArrangedSubview:self.timestampLabel]; [leftStackView addArrangedSubview:self.timestampLabel];
self.messageTimerView = [OWSMessageTimerView new]; self.messageTimerView = [OWSMessageTimerView new];

Loading…
Cancel
Save