This commit is contained in:
Nicola Benaglia 2025-05-30 00:11:47 +02:00
parent ccc3f1ca58
commit 76bca2d8c3

View File

@ -2131,6 +2131,7 @@ export const Group = ({
</Typography> </Typography>
</div> </div>
)} )}
{isPrivate && {isPrivate &&
!admins.includes(myAddress) && !admins.includes(myAddress) &&
!secretKey && !secretKey &&
@ -2149,13 +2150,14 @@ export const Group = ({
width: '100%', width: '100%',
}} }}
> >
{' '}
<Typography> <Typography>
{t('group:message.generic.not_part_group', { {t('group:message.generic.not_part_group', {
postProcess: 'capitalizeFirstChar', postProcess: 'capitalizeFirstChar',
})} })}
</Typography> </Typography>
<Spacer height="25px" /> <Spacer height="25px" />
<Typography> <Typography>
<strong> <strong>
{t('group:message.generic.only_encrypted', { {t('group:message.generic.only_encrypted', {
@ -2163,13 +2165,17 @@ export const Group = ({
})} })}
</strong> </strong>
</Typography> </Typography>
<Spacer height="25px" /> <Spacer height="25px" />
<Typography> <Typography>
{t('group:message.generic.notify_admins', { {t('group:message.generic.notify_admins', {
postProcess: 'capitalizeFirstChar', postProcess: 'capitalizeFirstChar',
})} })}
</Typography> </Typography>
<Spacer height="25px" /> <Spacer height="25px" />
{adminsWithNames.map((admin) => { {adminsWithNames.map((admin) => {
return ( return (
<Box <Box
@ -2284,6 +2290,7 @@ export const Group = ({
)} )}
</Box> </Box>
</Box> </Box>
{openManageMembers && ( {openManageMembers && (
<ManageMembers <ManageMembers
selectedGroup={selectedGroup} selectedGroup={selectedGroup}