Update appearance of draft quoted replies.

pull/1/head
Matthew Chen 6 years ago
parent ccb174120f
commit 25fd43d646

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

Loading…
Cancel
Save