Skip to content

Commit

Permalink
move button down
Browse files Browse the repository at this point in the history
  • Loading branch information
rezkiy37 committed Nov 24, 2023
1 parent 80fe82d commit 3eb2d15
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/pages/ShareCodePage.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,6 @@ class ShareCodePage extends React.Component {
</View>

<View style={{marginTop: 36}}>
<MenuItem
title={this.props.translate(`referralProgram.${CONST.REFERRAL_PROGRAM.CONTENT_TYPES.SHARE_CODE}.buttonText1`)}
icon={Expensicons.Cash}
onPress={() => Navigation.navigate(ROUTES.REFERRAL_DETAILS_MODAL.getRoute(CONST.REFERRAL_PROGRAM.CONTENT_TYPES.SHARE_CODE))}
/>

<ContextMenuItem
isAnonymousAction
text={this.props.translate('qrCodes.copyUrlToClipboard')}
Expand All @@ -114,6 +108,12 @@ class ShareCodePage extends React.Component {
onPress={() => Clipboard.setString(url)}
/>

<MenuItem
title={this.props.translate(`referralProgram.${CONST.REFERRAL_PROGRAM.CONTENT_TYPES.SHARE_CODE}.buttonText1`)}
icon={Expensicons.Cash}
onPress={() => Navigation.navigate(ROUTES.REFERRAL_DETAILS_MODAL.getRoute(CONST.REFERRAL_PROGRAM.CONTENT_TYPES.SHARE_CODE))}
/>

{isNative && (
<MenuItem
isAnonymousAction
Expand Down

0 comments on commit 3eb2d15

Please sign in to comment.