better organizing the conversations

This commit is contained in:
talksik
2022-05-30 09:44:08 -05:00
parent ff01b9a7cb
commit 403cfebe3a
@@ -91,16 +91,19 @@ export default function FooterControls() {
</Stack> </Stack>
{selectedConversation && ( {selectedConversation && (
<>
<Stack <Stack
direction={'row'} direction={'row'}
sx={{ sx={{
flex: 1, flex: 1,
mx: 'auto', mx: 'auto',
WebkitAppRegion: 'drag', WebkitAppRegion: 'drag',
cursor: 'pointer', cursor: 'pointer',
}} }}
alignItems={'center'} alignItems={'center'}
justifyContent={'flex-start'} justifyContent={'center'}
spacing={1}
> >
<IconButton color="primary" size="small"> <IconButton color="primary" size="small">
<FiSun /> <FiSun />
@@ -113,6 +116,7 @@ export default function FooterControls() {
isSelected={true} isSelected={true}
/> />
</Box> </Box>
</Stack>
<AvatarGroup variant={'rounded'}> <AvatarGroup variant={'rounded'}>
{selectedConversation.userCache?.map((conversationUser, index) => ( {selectedConversation.userCache?.map((conversationUser, index) => (
@@ -130,7 +134,7 @@ export default function FooterControls() {
/> />
))} ))}
</AvatarGroup> </AvatarGroup>
</Stack> </>
)} )}
{/* todo: add a third mode which is when toggle broadcasting */} {/* todo: add a third mode which is when toggle broadcasting */}