From 46ed910cdaeaa675b858ccdad3d64425f8e63031 Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Thu, 18 May 2023 17:10:42 -0500 Subject: Add list-type avatar --- src/view/com/lists/ListCard.tsx | 2 +- src/view/com/lists/ListItems.tsx | 2 +- src/view/com/modals/CreateOrEditMuteList.tsx | 1 + src/view/com/util/UserAvatar.tsx | 29 ++++++++++++++++++++++++++-- 4 files changed, 30 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/view/com/lists/ListCard.tsx b/src/view/com/lists/ListCard.tsx index 7cbdaaf64..0e13ca333 100644 --- a/src/view/com/lists/ListCard.tsx +++ b/src/view/com/lists/ListCard.tsx @@ -60,7 +60,7 @@ export const ListCard = ({ anchorNoUnderline> - + - + diff --git a/src/view/com/modals/CreateOrEditMuteList.tsx b/src/view/com/modals/CreateOrEditMuteList.tsx index 0c13f243a..736deae74 100644 --- a/src/view/com/modals/CreateOrEditMuteList.tsx +++ b/src/view/com/modals/CreateOrEditMuteList.tsx @@ -143,6 +143,7 @@ export function Component({ List Avatar ) } + if (type === 'list') { + // Font Awesome Pro 6.4.0 by @fontawesome -https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. + return ( + + + + + + ) + } return ( { - if (type === 'algo') { + if (type === 'algo' || type === 'list') { return { width: size, height: size, -- cgit 1.4.1