Merge branch 'charlesmchen/themeQuotedReplies'

pull/1/head
Matthew Chen 7 years ago
commit 501b5a7c97

@ -227,7 +227,10 @@ public class ConversationStyle: NSObject {
@objc
public func quotedReplyBubbleColor(isIncoming: Bool) -> UIColor {
if isIncoming {
if Theme.isDarkThemeEnabled {
let alpha: CGFloat = (isIncoming ? gi0.6 :0.5)
return UIColor.white.blend(with: bubbleColorOutgoingSent, alpha: alpha)
} else if isIncoming {
return bubbleColorOutgoingSent.withAlphaComponent(0.25)
} else {
return ConversationStyle.defaultBubbleColorIncoming.withAlphaComponent(0.75)

Loading…
Cancel
Save