Browse Source

Changed next buttons to continue

master
Thibaut Boustany 7 years ago
parent
commit
888e2cc03d
No known key found for this signature in database GPG Key ID: 32475B11A2B13EEC
  1. 2
      src/components/modals/AddAccounts/steps/01-step-choose-currency.js
  2. 2
      src/components/modals/AddAccounts/steps/02-step-connect-device.js
  3. 2
      src/components/modals/Receive/steps/01-step-account.js
  4. 2
      src/components/modals/Receive/steps/02-step-connect-device.js
  5. 2
      src/components/modals/Send/steps/01-step-amount.js
  6. 2
      src/components/modals/Send/steps/02-step-connect-device.js

2
src/components/modals/AddAccounts/steps/01-step-choose-currency.js

@ -19,7 +19,7 @@ export function StepChooseCurrencyFooter({ transitionTo, currency, t }: StepProp
<TrackPage category="AddAccounts" name="Step1" />
{currency && <CurrencyBadge mr="auto" currency={currency} />}
<Button primary disabled={!currency} onClick={() => transitionTo('connectDevice')}>
{t('app:common.next')}
{t('app:common.continue')}
</Button>
</Fragment>
)

2
src/components/modals/AddAccounts/steps/02-step-connect-device.js

@ -47,7 +47,7 @@ function StepConnectDevice({ t, currency, device, setAppOpened }: StepProps) {
export function StepConnectDeviceFooter({ t, transitionTo, isAppOpened }: StepProps) {
return (
<Button primary disabled={!isAppOpened} onClick={() => transitionTo('import')}>
{t('app:common.next')}
{t('app:common.continue')}
</Button>
)
}

2
src/components/modals/Receive/steps/01-step-account.js

@ -23,7 +23,7 @@ export default function StepAccount({ t, account, onChangeAccount }: StepProps)
export function StepAccountFooter({ t, transitionTo, account }: StepProps) {
return (
<Button disabled={!account} primary onClick={() => transitionTo('device')}>
{t('app:common.next')}
{t('app:common.continue')}
</Button>
)
}

2
src/components/modals/Receive/steps/02-step-connect-device.js

@ -35,7 +35,7 @@ export function StepConnectDeviceFooter({
{t('app:receive.steps.connectDevice.withoutDevice')}
</Button>
<Button disabled={!isAppOpened} primary onClick={() => transitionTo('confirm')}>
{t('app:common.next')}
{t('app:common.continue')}
</Button>
</Box>
)

2
src/components/modals/Send/steps/01-step-amount.js

@ -179,7 +179,7 @@ export class StepAmountFooter extends PureComponent<
</Box>
</Box>
<Button disabled={!canBeSpent || !canNext} primary onClick={() => transitionTo('device')}>
{t('app:common.next')}
{t('app:common.continue')}
</Button>
</Fragment>
)

2
src/components/modals/Send/steps/02-step-connect-device.js

@ -24,7 +24,7 @@ export default function StepConnectDevice({ account, onChangeAppOpened }: StepPr
export function StepConnectDeviceFooter({ t, transitionTo, isAppOpened }: StepProps<*>) {
return (
<Button disabled={!isAppOpened} primary onClick={() => transitionTo('verification')}>
{t('app:common.next')}
{t('app:common.continue')}
</Button>
)
}

Loading…
Cancel
Save