diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-07-04 03:48:19 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-07-04 03:48:19 +0800 |
commit | a52eb813809448db4957cec5c78317419c98ddba (patch) | |
tree | 9eed7ef16440ae4d35351fc1f35fe0951b26034d /packages/website/ts/components/onboarding | |
parent | ab0055d5c68bea1dec6a4bbbe4a76822783d3a2c (diff) | |
download | dexon-sol-tools-a52eb813809448db4957cec5c78317419c98ddba.tar.gz dexon-sol-tools-a52eb813809448db4957cec5c78317419c98ddba.tar.zst dexon-sol-tools-a52eb813809448db4957cec5c78317419c98ddba.zip |
Rename isMobile utility fn to be more specific and add isMobileOperatingSystem
Diffstat (limited to 'packages/website/ts/components/onboarding')
-rw-r--r-- | packages/website/ts/components/onboarding/portal_onboarding_flow.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/website/ts/components/onboarding/portal_onboarding_flow.tsx b/packages/website/ts/components/onboarding/portal_onboarding_flow.tsx index 6bfa5c75f..d0955c2dc 100644 --- a/packages/website/ts/components/onboarding/portal_onboarding_flow.tsx +++ b/packages/website/ts/components/onboarding/portal_onboarding_flow.tsx @@ -267,7 +267,7 @@ class PlainPortalOnboardingFlow extends React.Component<PortalOnboardingFlowProp ); } private _handleFinalStepContinueClick(): void { - if (utils.isMobile(this.props.screenWidth)) { + if (utils.isMobileWidth(this.props.screenWidth)) { window.scrollTo(0, 0); this.props.history.push('/portal'); } |