Retweak colors.

pull/1/head
Matthew Chen 7 years ago
parent e7e31c5ee9
commit 4893b01907

@ -120,7 +120,11 @@ NS_ASSUME_NONNULL_BEGIN
self.statusIndicatorImageView.image =
[statusIndicatorImage imageWithRenderingMode:UIImageRenderingModeAlwaysTemplate];
// TODO: How to indicate read status for transitional colors?
// if (messageStatus == MessageReceiptStatusRead) {
// self.statusIndicatorImageView.tintColor = [UIColor ows_signalBlueColor];
// } else {
self.statusIndicatorImageView.tintColor = textColor;
// }
self.statusIndicatorImageView.hidden = NO;
} else {
self.statusIndicatorImageView.image = nil;

@ -134,36 +134,6 @@ public class ConversationStyle: NSObject {
return color
}
// @objc
// public static let bubbleColorIncoming = UIColor.ows_messageBubbleLightGray
//
// @objc
// public static let bubbleColorOutgoingUnsent = UIColor.gray
//
// @objc
// public static let bubbleColorOutgoingSending = UIColor.ows_fadedBlue
//
// @objc
// public static let bubbleColorOutgoingSent = UIColor.ows_materialBlue
//
// @objc
// public func bubbleColor(message: TSMessage) -> UIColor {
// if message is TSIncomingMessage {
// return OWSMessagesBubbleImageFactory.bubbleColorIncoming
// } else if let outgoingMessage = message as? TSOutgoingMessage {
// switch outgoingMessage.messageState {
// case .failed:
// return OWSMessagesBubbleImageFactory.bubbleColorOutgoingUnsent
// case .sending:
// return OWSMessagesBubbleImageFactory.bubbleColorOutgoingSending
// default:
// return OWSMessagesBubbleImageFactory.bubbleColorOutgoingSent
// }
// } else {
// owsFail("Unexpected message type: \(message)")
// return UIColor.ows_materialBlue
// }
// }
private static let defaultBubbleColorIncoming = UIColor.ows_messageBubbleLightGray
@objc

Loading…
Cancel
Save