Merge branch 'charlesmchen/themeQuotedReplies'
This commit is contained in:
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…
Reference in New Issue
Block a user