From 71f07a0ab6d3876f4bb492d53fd25a9e3e3638f5 Mon Sep 17 00:00:00 2001 From: Nikki Wines Date: Wed, 5 Apr 2023 17:54:19 -0700 Subject: [PATCH 1/2] replace clipboard icon with copy icon --- assets/images/clipboard.svg | 8 -------- assets/images/copy.svg | 7 +++++++ 2 files changed, 7 insertions(+), 8 deletions(-) delete mode 100644 assets/images/clipboard.svg create mode 100644 assets/images/copy.svg diff --git a/assets/images/clipboard.svg b/assets/images/clipboard.svg deleted file mode 100644 index 5ac0c503f19b..000000000000 --- a/assets/images/clipboard.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - diff --git a/assets/images/copy.svg b/assets/images/copy.svg new file mode 100644 index 000000000000..87707f0be6c1 --- /dev/null +++ b/assets/images/copy.svg @@ -0,0 +1,7 @@ + + + + + + From 680a0e1bf8ef47c1580bb6656ba0843ee95c169e Mon Sep 17 00:00:00 2001 From: Nikki Wines Date: Wed, 5 Apr 2023 17:54:43 -0700 Subject: [PATCH 2/2] replace usages of Clipboard with Copy --- src/components/CommunicationsLink.js | 2 +- src/components/CopyTextToClipboard.js | 2 +- src/components/Icon/Expensicons.js | 4 ++-- src/pages/home/report/ContextMenu/ContextMenuActions.js | 6 +++--- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/components/CommunicationsLink.js b/src/components/CommunicationsLink.js index e11c5d7e398a..81c871b05d3b 100644 --- a/src/components/CommunicationsLink.js +++ b/src/components/CommunicationsLink.js @@ -38,7 +38,7 @@ const CommunicationsLink = props => ( {props.children} {this.props.text} type === CONTEXT_MENU_TYPES.LINK, @@ -123,7 +123,7 @@ export default [ }, { textTranslateKey: 'reportActionContextMenu.copyEmailToClipboard', - icon: Expensicons.Clipboard, + icon: Expensicons.Copy, successTextTranslateKey: 'reportActionContextMenu.copied', successIcon: Expensicons.Checkmark, shouldShow: type => type === CONTEXT_MENU_TYPES.EMAIL, @@ -135,7 +135,7 @@ export default [ }, { textTranslateKey: 'reportActionContextMenu.copyToClipboard', - icon: Expensicons.Clipboard, + icon: Expensicons.Copy, successTextTranslateKey: 'reportActionContextMenu.copied', successIcon: Expensicons.Checkmark, shouldShow: (type, reportAction) => (type === CONTEXT_MENU_TYPES.REPORT_ACTION