File tree Expand file tree Collapse file tree
src/pages/settings/Wallet/TravelCVVPage Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ function TravelCVVPage() {
3333 const [ isCopyButtonActive , setCopyButtonInactive ] = useThrottledButtonState ( ) ;
3434 const { isOffline} = useNetwork ( ) ;
3535 const { translate} = useLocalize ( ) ;
36- const icons = useMemoizedLazyExpensifyIcons ( [ 'Copy' ] ) ;
36+ const icons = useMemoizedLazyExpensifyIcons ( [ 'Copy' , 'Checkmark' ] ) ;
3737
3838 const [ account , accountMetadata ] = useOnyx ( ONYXKEYS . ACCOUNT ) ;
3939 const [ , lockAccountDetailsMetadata ] = useOnyx ( ONYXKEYS . NVP_PRIVATE_LOCK_ACCOUNT_DETAILS ) ;
@@ -119,7 +119,7 @@ function TravelCVVPage() {
119119 if ( hasRevealedCVV ) {
120120 actionButton = (
121121 < Button
122- icon = { icons . Copy }
122+ icon = { isCopyButtonActive ? icons . Copy : icons . Checkmark }
123123 text = { isCopyButtonActive ? translate ( 'cardPage.cardDetails.copyCvv' ) : translate ( 'common.copied' ) }
124124 onPress = { ( ) => {
125125 Clipboard . setString ( cvv ) ;
You can’t perform that action at this time.
0 commit comments