taking out the unnecessary or rather confusing suns

This commit is contained in:
talksik
2022-07-04 15:10:44 -05:00
parent e7e109636f
commit a477a8768a
2 changed files with 9 additions and 14 deletions
@@ -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'}
+6 -5
View File
@@ -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}