diff --git a/Components/LaunchScreen.js b/Components/LaunchScreen.js
index ee2adda..9504b41 100644
--- a/Components/LaunchScreen.js
+++ b/Components/LaunchScreen.js
@@ -26,10 +26,10 @@ export default class LaunchScreen extends Component {
registry_addr: null,
}
- /*componentDidMount() {
+ componentDidMount() {
const { navigation } = this.props;
const { navigate } = navigation;
- const { params } = navigation.state;
+ const params = navigation.state.params || {};
this.state.navigate = navigate;
Keys.getAddress()
.then((addr) => {
@@ -53,15 +53,13 @@ export default class LaunchScreen extends Component {
(params.enter_phrase === false && (!params.seed_written || !params.double_check))
)
) {
- x=1
- //navigate('Setup', params)
+ navigate('Setup', params)
}
else if (!this.state.s || !this.state.device_addr) {
- //navigate('RegisterDevice', params)
- x=2
+ navigate('RegisterDevice', params)
}
})
- }*/
+ }
//openDevices() { this.state.navigate('Devices') }
diff --git a/Components/Screens/SetupScreen.js b/Components/Screens/SetupScreen.js
index dbeac62..5085764 100644
--- a/Components/Screens/SetupScreen.js
+++ b/Components/Screens/SetupScreen.js
@@ -41,24 +41,29 @@ export default class RegisterScreen extends Component {
renderProceed() {
if (!this.state.seed_written) {
return (
-
+