Local profile default avatars should use steel background.

pull/1/head
Matthew Chen 7 years ago
parent 27488f078a
commit 6d14a1b472

@ -519,7 +519,7 @@ NS_ASSUME_NONNULL_BEGIN
+ (NSString *)ows_defaultConversationColorName + (NSString *)ows_defaultConversationColorName
{ {
NSString *conversationColorName = @"teal"; NSString *conversationColorName = @"steel";
OWSAssert([self.ows_conversationColorNames containsObject:conversationColorName]); OWSAssert([self.ows_conversationColorNames containsObject:conversationColorName]);
return conversationColorName; return conversationColorName;
} }

@ -76,7 +76,7 @@ NS_ASSUME_NONNULL_BEGIN
OWSAssertDebug(localNumber.length > 0); OWSAssertDebug(localNumber.length > 0);
OWSAssertDebug(diameter > 0); OWSAssertDebug(diameter > 0);
NSString *colorName = [TSThread stableConversationColorNameForString:localNumber]; NSString *colorName = [UIColor ows_defaultConversationColorName];
return [self initWithSignalId:localNumber colorName:colorName diameter:diameter]; return [self initWithSignalId:localNumber colorName:colorName diameter:diameter];
} }

Loading…
Cancel
Save