Align draft view of link preview and draft view of quoted reply.

pull/1/head
Matthew Chen 6 years ago
parent c02d633272
commit 75e017b2c1

@ -203,7 +203,12 @@ const CGFloat kRemotelySourcedContentRowSpacing = 3;
hStackView.spacing = self.hSpacing;
UIView *stripeView = [UIView new];
stripeView.backgroundColor = [self.conversationStyle quotedReplyStripeColorWithIsIncoming:!self.isOutgoing];
if (self.isForPreview) {
// TODO:
stripeView.backgroundColor = [self.conversationStyle quotedReplyStripeColorWithIsIncoming:YES];
} else {
stripeView.backgroundColor = [self.conversationStyle quotedReplyStripeColorWithIsIncoming:!self.isOutgoing];
}
[stripeView autoSetDimension:ALDimensionWidth toSize:self.stripeThickness];
[stripeView setContentHuggingHigh];
[stripeView setCompressionResistanceHigh];

Loading…
Cancel
Save