diff --git a/src/actions/delete-contacts.test.tsx b/src/actions/delete-contacts.test.tsx index 1a8e6be7..7ca2f571 100644 --- a/src/actions/delete-contacts.test.tsx +++ b/src/actions/delete-contacts.test.tsx @@ -21,7 +21,7 @@ describe("Delete-contacts' actions", () => { expect(result.current).toEqual>( expect.objectContaining({ icon: 'DeletePermanentlyOutline', - label: 'Delete contacts permanently', + label: 'Delete contact permanently', id: 'delete-contacts-action' }) ); @@ -65,6 +65,6 @@ describe('execute actions', () => { populateFoldersStore(); const { result } = setupHook(useActionDeleteContacts); const action = result.current; - expect(action.label).toBe('Delete contacts permanently'); + expect(action.label).toBe('Delete contact permanently'); }); }); diff --git a/src/actions/delete-contacts.tsx b/src/actions/delete-contacts.tsx index bf66c0ea..cae5bc12 100644 --- a/src/actions/delete-contacts.tsx +++ b/src/actions/delete-contacts.tsx @@ -61,7 +61,7 @@ export const useActionDeleteContacts = (): ActionDeleteContacts => { return useMemo( () => ({ id: ACTION_IDS.deleteContacts, - label: t('folder.action.delete_permanently', 'Delete contacts permanently'), + label: t('tooltip.list_trash.deletePermanently', 'Delete contact permanently'), icon: 'DeletePermanentlyOutline', execute, canExecute diff --git a/src/constants/tests.ts b/src/constants/tests.ts index 47fede85..1a58b5b7 100644 --- a/src/constants/tests.ts +++ b/src/constants/tests.ts @@ -64,7 +64,7 @@ export const CONTACT_ACTIONS_DESCRIPTORS = { }, deletePermanently: { id: 'deletePermanently', - desc: 'Delete contacts permanently', + desc: 'Delete contact permanently', icon: 'DeletePermanentlyOutline' }, delete: { diff --git a/src/legacy/views/folder/list-item-action-wrapper.jsx b/src/legacy/views/folder/list-item-action-wrapper.jsx index 84fedfbe..1d15f917 100644 --- a/src/legacy/views/folder/list-item-action-wrapper.jsx +++ b/src/legacy/views/folder/list-item-action-wrapper.jsx @@ -17,7 +17,7 @@ const HoverBarContainer = styled(Container)` display: none; position: absolute; background: linear-gradient(to right, transparent, ${({ theme }) => theme.palette.gray6.hover}); - height: 45%; + height: 55%; & > * { margin-top: ${({ theme }) => theme.sizes.padding.small}; margin-right: ${({ theme }) => theme.sizes.padding.small}; diff --git a/src/legacy/views/preview/contact-preview-content.jsx b/src/legacy/views/preview/contact-preview-content.jsx index 3f742768..33126847 100644 --- a/src/legacy/views/preview/contact-preview-content.jsx +++ b/src/legacy/views/preview/contact-preview-content.jsx @@ -373,8 +373,9 @@ function ContactPreviewContent({ contact, onEdit, onDelete, onMail, onMove }) { {showTagIcon && ( -