Update appearance of draft quoted replies.

This commit is contained in:
Matthew Chen 2019-01-28 14:45:31 -05:00
parent ccb174120f
commit 25fd43d646
1 changed files with 6 additions and 3 deletions

View File

@ -189,7 +189,11 @@ const CGFloat kRemotelySourcedContentRowSpacing = 3;
maskLayer.path = bezierPath.CGPath;
}];
innerBubbleView.layer.mask = maskLayer;
innerBubbleView.backgroundColor = self.quoteBubbleBackgroundColor;
if (self.isForPreview) {
innerBubbleView.backgroundColor = [UIColor.ows_signalBlueColor colorWithAlphaComponent:0.4f];
} else {
innerBubbleView.backgroundColor = self.quoteBubbleBackgroundColor;
}
[self addSubview:innerBubbleView];
[innerBubbleView autoPinLeadingToSuperviewMarginWithInset:self.bubbleHMargin];
[innerBubbleView autoPinTrailingToSuperviewMarginWithInset:self.bubbleHMargin];
@ -204,8 +208,7 @@ const CGFloat kRemotelySourcedContentRowSpacing = 3;
UIView *stripeView = [UIView new];
if (self.isForPreview) {
// TODO:
stripeView.backgroundColor = [self.conversationStyle quotedReplyStripeColorWithIsIncoming:YES];
stripeView.backgroundColor = UIColor.ows_signalBlueColor;
} else {
stripeView.backgroundColor = [self.conversationStyle quotedReplyStripeColorWithIsIncoming:!self.isOutgoing];
}