nice opacity in side panel too
This commit is contained in:
@@ -779,7 +779,13 @@ function ConversationRow({ conversation }: { conversation: Conversation }) {
|
|||||||
key={`${conversation.id}-${conversationUser.uid}-convoIcon`}
|
key={`${conversation.id}-${conversationUser.uid}-convoIcon`}
|
||||||
alt={conversationUser?.displayName}
|
alt={conversationUser?.displayName}
|
||||||
src={conversationUser?.photoUrl}
|
src={conversationUser?.photoUrl}
|
||||||
sx={{ width: 30, height: 30 }}
|
sx={{
|
||||||
|
width: 30,
|
||||||
|
height: 30,
|
||||||
|
opacity: conversation.membersInRoom?.includes(conversationUser.uid)
|
||||||
|
? '100%'
|
||||||
|
: '20%',
|
||||||
|
}}
|
||||||
/>
|
/>
|
||||||
))}
|
))}
|
||||||
</AvatarGroup>
|
</AvatarGroup>
|
||||||
|
|||||||
Reference in New Issue
Block a user