|
|
@ -66,8 +66,12 @@ NS_ASSUME_NONNULL_BEGIN
|
|
|
|
return cachedAvatar;
|
|
|
|
return cachedAvatar;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef SHOW_COLOR_PICKER
|
|
|
|
UIColor *backgroundColor =
|
|
|
|
UIColor *backgroundColor =
|
|
|
|
[OWSConversationColor conversationColorOrDefaultForColorName:conversationColorName].themeColor;
|
|
|
|
[OWSConversationColor conversationColorOrDefaultForColorName:conversationColorName].themeColor;
|
|
|
|
|
|
|
|
#else
|
|
|
|
|
|
|
|
UIColor *backgroundColor = UIColor.ows_darkSkyBlueColor;
|
|
|
|
|
|
|
|
#endif
|
|
|
|
UIImage *_Nullable image =
|
|
|
|
UIImage *_Nullable image =
|
|
|
|
[OWSGroupAvatarBuilder groupAvatarImageWithBackgroundColor:backgroundColor diameter:diameter];
|
|
|
|
[OWSGroupAvatarBuilder groupAvatarImageWithBackgroundColor:backgroundColor diameter:diameter];
|
|
|
|
if (!image) {
|
|
|
|
if (!image) {
|
|
|
|