From b980d994534d341901f6ee7aade3babe2b0ac24e Mon Sep 17 00:00:00 2001 From: Evan Hahn <69474926+EvanHahn-Signal@users.noreply.github.com> Date: Wed, 13 Oct 2021 19:13:13 -0500 Subject: [PATCH] Assign fallback to avatar color, fixing "New group" icon --- stylesheets/components/Avatar.scss | 9 --------- ts/components/Avatar.tsx | 2 +- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/stylesheets/components/Avatar.scss b/stylesheets/components/Avatar.scss index 38e3987830..c572f408a0 100644 --- a/stylesheets/components/Avatar.scss +++ b/stylesheets/components/Avatar.scss @@ -105,13 +105,4 @@ &__spinner-container { padding: 4px; } - - &--undefined { - background-color: $color-gray-15; - color: $color-gray-75; - - &--icon { - background-color: $color-gray-75; - } - } } diff --git a/ts/components/Avatar.tsx b/ts/components/Avatar.tsx index c4598b79cb..25b08fab5b 100644 --- a/ts/components/Avatar.tsx +++ b/ts/components/Avatar.tsx @@ -73,7 +73,7 @@ export const Avatar: FunctionComponent = ({ acceptedMessageRequest, avatarPath, className, - color, + color = 'A200', conversationType, i18n, isMe,