|
|
|
@ -1,12 +1,12 @@ |
|
|
|
|
import React, {Component, PropTypes} from 'react' |
|
|
|
|
import {connect} from 'react-redux'; |
|
|
|
|
import {connect} from 'react-redux' |
|
|
|
|
import CreatePasswordScreen from './create-password-screen' |
|
|
|
|
import UniqueImageScreen from './unique-image-screen' |
|
|
|
|
import NoticeScreen from './notice-screen' |
|
|
|
|
import BackupPhraseScreen from './backup-phrase-screen' |
|
|
|
|
import ImportAccountScreen from './import-account-screen' |
|
|
|
|
import BuyEtherScreen from './buy-ether-screen' |
|
|
|
|
import {buyEthView} from '../../../../ui/app/actions' |
|
|
|
|
import {onboardingBuyEthView} from '../../../../ui/app/actions' |
|
|
|
|
|
|
|
|
|
class FirstTimeFlow extends Component { |
|
|
|
|
|
|
|
|
@ -34,9 +34,9 @@ class FirstTimeFlow extends Component { |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
constructor (props) { |
|
|
|
|
super(props); |
|
|
|
|
super(props) |
|
|
|
|
this.state = { |
|
|
|
|
screenType: this.getScreenType() |
|
|
|
|
screenType: this.getScreenType(), |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -49,7 +49,7 @@ class FirstTimeFlow extends Component { |
|
|
|
|
isInitialized, |
|
|
|
|
seedWords, |
|
|
|
|
noActiveNotices, |
|
|
|
|
} = this.props; |
|
|
|
|
} = this.props |
|
|
|
|
const {SCREEN_TYPE} = FirstTimeFlow |
|
|
|
|
|
|
|
|
|
// return SCREEN_TYPE.NOTICE
|
|
|
|
@ -127,7 +127,7 @@ export default connect( |
|
|
|
|
address: selectedAddress, |
|
|
|
|
}), |
|
|
|
|
dispatch => ({ |
|
|
|
|
goToBuyEtherView: address => dispatch(buyEthView(address)) |
|
|
|
|
goToBuyEtherView: address => dispatch(onboardingBuyEthView(address)), |
|
|
|
|
}) |
|
|
|
|
)(FirstTimeFlow) |
|
|
|
|
|
|
|
|
|