From 31d65c3d77ccbe30e5efc8318c7810fd36b7f437 Mon Sep 17 00:00:00 2001 From: Matthew Chen Date: Fri, 28 Jul 2017 14:56:05 -0400 Subject: [PATCH] Fix RTL alignment of message footers. // FREEBIE --- Signal/src/views/OWSOutgoingMessageCollectionViewCell.m | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Signal/src/views/OWSOutgoingMessageCollectionViewCell.m b/Signal/src/views/OWSOutgoingMessageCollectionViewCell.m index d5c431763..81e3d1d09 100644 --- a/Signal/src/views/OWSOutgoingMessageCollectionViewCell.m +++ b/Signal/src/views/OWSOutgoingMessageCollectionViewCell.m @@ -5,6 +5,7 @@ #import "OWSOutgoingMessageCollectionViewCell.h" #import "FLAnimatedImageView.h" #import "OWSExpirationTimerView.h" +#import "UIView+OWS.h" #import NS_ASSUME_NONNULL_BEGIN @@ -22,6 +23,9 @@ NS_ASSUME_NONNULL_BEGIN { [super awakeFromNib]; self.expirationTimerViewWidthConstraint.constant = 0.0; + + // Our text alignment needs to adapt to RTL. + self.cellBottomLabel.textAlignment = [self.cellBottomLabel textAlignmentUnnatural]; } - (void)prepareForReuse