Shared Collection Options: Resolved changes

This commit is contained in:
Ananddubey01 2023-01-11 14:07:09 +05:30
parent 5a3b58e1e8
commit a92823aeb2
2 changed files with 3 additions and 3 deletions

View file

@ -15,13 +15,12 @@ interface Iprops {
export function SharedCollectionOption({ handleCollectionAction }: Iprops) {
return (
<OverflowMenuOption
color="danger"
startIcon={<DeleteOutlinedIcon />}
onClick={handleCollectionAction(
CollectionActions.CONFIRM_LEAVE_SHARED_ALBUM,
false
)}>
{constants.LEAVE}
{constants.LEAVE_ALBUM}
</OverflowMenuOption>
);
}

View file

@ -612,7 +612,8 @@ const englishConstants = {
EMPTY_TRASH_MESSAGE:
'These files will be permanently deleted from your ente account.',
LEAVE_SHARED_ALBUM: 'Yes, leave',
LEAVE_SHARED_ALBUM_TITLE: 'Leave shared Album?',
LEAVE_ALBUM: 'Leave album',
LEAVE_SHARED_ALBUM_TITLE: 'Leave shared album?',
LEAVE_SHARED_ALBUM_FAILED: 'failed to leave the album, please try again',
LEAVE_SHARED_ALBUM_MESSAGE:
'You will leave the album, and it will stop being visible to you.',