mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
failed background color to spec
This commit is contained in:
parent
b0978abd01
commit
76745bee5b
2 changed files with 5 additions and 5 deletions
|
@ -1328,7 +1328,7 @@ NS_ASSUME_NONNULL_BEGIN
|
|||
[self fakeOutgoingPngAction:thread
|
||||
actionLabel:@"Fake Outgoing 'Outgoing Unsent' Png"
|
||||
imageSize:CGSizeMake(200.f, 200.f)
|
||||
backgroundColor:[conversationStyle bubbleColorOutgoingUnsent]
|
||||
backgroundColor:[conversationStyle bubbleColorOutgoingFailed]
|
||||
textColor:[UIColor whiteColor]
|
||||
imageLabel:@"W"
|
||||
messageState:TSOutgoingMessageStateFailed
|
||||
|
@ -1336,7 +1336,7 @@ NS_ASSUME_NONNULL_BEGIN
|
|||
[self fakeOutgoingPngAction:thread
|
||||
actionLabel:@"Fake Outgoing 'Outgoing Unsent' Png"
|
||||
imageSize:CGSizeMake(200.f, 200.f)
|
||||
backgroundColor:[conversationStyle bubbleColorOutgoingUnsent]
|
||||
backgroundColor:[conversationStyle bubbleColorOutgoingFailed]
|
||||
textColor:[UIColor whiteColor]
|
||||
imageLabel:@"W"
|
||||
messageState:TSOutgoingMessageStateSending
|
||||
|
@ -1344,7 +1344,7 @@ NS_ASSUME_NONNULL_BEGIN
|
|||
[self fakeOutgoingPngAction:thread
|
||||
actionLabel:@"Fake Outgoing 'Outgoing Unsent' Png"
|
||||
imageSize:CGSizeMake(200.f, 200.f)
|
||||
backgroundColor:[conversationStyle bubbleColorOutgoingUnsent]
|
||||
backgroundColor:[conversationStyle bubbleColorOutgoingFailed]
|
||||
textColor:[UIColor whiteColor]
|
||||
imageLabel:@"W"
|
||||
messageState:TSOutgoingMessageStateSent
|
||||
|
|
|
@ -137,7 +137,7 @@ public class ConversationStyle: NSObject {
|
|||
private static let defaultBubbleColorIncoming = UIColor.ows_messageBubbleLightGray
|
||||
|
||||
@objc
|
||||
public let bubbleColorOutgoingUnsent = UIColor.ows_light10
|
||||
public let bubbleColorOutgoingFailed = UIColor.ows_darkSkyBlue
|
||||
|
||||
@objc
|
||||
public let bubbleColorOutgoingSending = UIColor.ows_fadedBlue
|
||||
|
@ -155,7 +155,7 @@ public class ConversationStyle: NSObject {
|
|||
} else if let outgoingMessage = message as? TSOutgoingMessage {
|
||||
switch outgoingMessage.messageState {
|
||||
case .failed:
|
||||
return bubbleColorOutgoingUnsent
|
||||
return bubbleColorOutgoingFailed
|
||||
case .sending:
|
||||
return bubbleColorOutgoingSending
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue