Thibaut Boustany
7 years ago
No known key found for this signature in database
GPG Key ID: 32475B11A2B13EEC
6 changed files with
6 additions and
6 deletions
-
src/components/modals/AddAccounts/steps/01-step-choose-currency.js
-
src/components/modals/AddAccounts/steps/02-step-connect-device.js
-
src/components/modals/Receive/steps/01-step-account.js
-
src/components/modals/Receive/steps/02-step-connect-device.js
-
src/components/modals/Send/steps/01-step-amount.js
-
src/components/modals/Send/steps/02-step-connect-device.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> |
|
|
|
) |
|
|
|
|
|
@ -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> |
|
|
|
) |
|
|
|
} |
|
|
|
|
|
@ -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> |
|
|
|
) |
|
|
|
} |
|
|
|
|
|
@ -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> |
|
|
|
) |
|
|
|
|
|
@ -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> |
|
|
|
) |
|
|
|
|
|
@ -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> |
|
|
|
) |
|
|
|
} |
|
|
|