Fix secondary color within message bubbles.

pull/1/head
Matthew Chen 7 years ago
parent 4003e31852
commit 43dc362fc7

@ -197,19 +197,10 @@ public class ConversationStyle: NSObject {
}
}
// Note that the exception for outgoing text only applies
// to secondary text within bubbles.
@objc
public func bubbleSecondaryTextColor(isIncoming: Bool) -> UIColor {
if Theme.isDarkThemeEnabled {
// Incoming, dark.
return UIColor.ows_gray25
} else {
// Incoming, light.
return UIColor.ows_gray60
}
}
@objc
public func footerTextColor(isIncoming: Bool) -> UIColor {
if !isIncoming {
// All Outgoing
return UIColor.ows_white.withAlphaComponent(0.8)

Loading…
Cancel
Save