taking out the unnecessary or rather confusing suns
This commit is contained in:
@@ -143,15 +143,9 @@ export function ConversationRow({
|
|||||||
selected={selectedConversation?._id.toString() === conversation._id.toString()}
|
selected={selectedConversation?._id.toString() === conversation._id.toString()}
|
||||||
onClick={handleSelectConversation}
|
onClick={handleSelectConversation}
|
||||||
>
|
>
|
||||||
{conversation.tunedInUsers?.length > 0 ? (
|
<Box sx={{ color: 'GrayText', fontSize: 10, ml: 0 }}>
|
||||||
<Box sx={{ color: 'primary.main', fontSize: 15, ml: 0 }}>
|
<FiCircle />
|
||||||
<FiSun />
|
</Box>
|
||||||
</Box>
|
|
||||||
) : (
|
|
||||||
<Box sx={{ color: 'GrayText', fontSize: 10, ml: 0 }}>
|
|
||||||
<FiCircle />
|
|
||||||
</Box>
|
|
||||||
)}
|
|
||||||
|
|
||||||
<Stack
|
<Stack
|
||||||
direction={'row'}
|
direction={'row'}
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ import {
|
|||||||
Tooltip,
|
Tooltip,
|
||||||
Typography,
|
Typography,
|
||||||
} from '@mui/material';
|
} from '@mui/material';
|
||||||
import { FiAirplay, FiLink, FiSun, FiUserPlus, FiZap } from 'react-icons/fi';
|
import { FiAirplay, FiCircle, FiLink, FiSun, FiUserPlus, FiZap } from 'react-icons/fi';
|
||||||
import React, { useEffect, useMemo, useRef } from 'react';
|
import React, { useEffect, useMemo, useRef } from 'react';
|
||||||
|
|
||||||
import { Box } from '@mui/system';
|
import { Box } from '@mui/system';
|
||||||
@@ -89,10 +89,11 @@ function ConversationDetails({ masterConversation }: { masterConversation: Maste
|
|||||||
borderBottomColor: blueGrey[50],
|
borderBottomColor: blueGrey[50],
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Stack direction="row" alignItems="center">
|
<Stack direction="row" alignItems="center" gap={1}>
|
||||||
<IconButton color="primary" size="small">
|
<Box sx={{ color: 'GrayText', fontSize: 10, ml: 0 }}>
|
||||||
<FiSun />
|
<FiCircle />
|
||||||
</IconButton>
|
</Box>
|
||||||
|
|
||||||
<ConversationLabel
|
<ConversationLabel
|
||||||
users={masterConversation.members}
|
users={masterConversation.members}
|
||||||
conversationName={masterConversation.name}
|
conversationName={masterConversation.name}
|
||||||
|
|||||||
Reference in New Issue
Block a user