nice opacity in side panel too

This commit is contained in:
talksik
2022-05-29 11:34:56 -05:00
parent 5ad131c4f2
commit 1e5894082c
+7 -1
View File
@@ -779,7 +779,13 @@ function ConversationRow({ conversation }: { conversation: Conversation }) {
key={`${conversation.id}-${conversationUser.uid}-convoIcon`}
alt={conversationUser?.displayName}
src={conversationUser?.photoUrl}
sx={{ width: 30, height: 30 }}
sx={{
width: 30,
height: 30,
opacity: conversation.membersInRoom?.includes(conversationUser.uid)
? '100%'
: '20%',
}}
/>
))}
</AvatarGroup>