Skip to content

Commit

Permalink
[wallet] Hide invite education copy after invite was redeemed (#1670)
Browse files Browse the repository at this point in the history
  • Loading branch information
martinvol authored and celo-ci-bot-user committed Nov 12, 2019
1 parent cabadee commit d350720
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions packages/mobile/src/invite/EnterInviteCode.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -157,10 +157,12 @@ export class EnterInviteCode extends React.Component<Props, State> {
{t('inviteCodeText.title')}
</Text>
<View style={styles.inviteActionContainer}>
<Text style={styles.body}>
<Text>{t('inviteCodeText.copyInvite.0')}</Text>
{t('inviteCodeText.copyInvite.1')}
</Text>
{!redeemComplete && (
<Text style={styles.body}>
<Text>{t('inviteCodeText.copyInvite.0')}</Text>
{t('inviteCodeText.copyInvite.1')}
</Text>
)}

{redeemComplete ? (
<Text style={[styles.body, componentStyles.marginTop10]}>
Expand Down

0 comments on commit d350720

Please sign in to comment.