diff --git a/app/LoadingApp/LoadingApp.tsx b/app/LoadingApp/LoadingApp.tsx index 26f5e65eb..db20ad384 100644 --- a/app/LoadingApp/LoadingApp.tsx +++ b/app/LoadingApp/LoadingApp.tsx @@ -530,11 +530,10 @@ export class LoadingAppClass extends Component create a new wallet & go directly to history screen. if (this.state.mode === ModeEnum.basic) { - // but first we need to check if exists some seed stored in the device from a prior installation - // of Zingo. + // but first we need to check if exists some seed stored in the device from a previous installation if (this.state.hasRecoveryWalletInfoSaved) { this.recoverRecoveryWalletInfo(false); - await SettingsFileImpl.writeSettings(SettingsNameEnum.basicFirstViewSeed, true); + await SettingsFileImpl.writeSettings(SettingsNameEnum.basicFirstViewSeed, false); this.setState({ screen: 1, walletExists: false, @@ -544,7 +543,8 @@ export class LoadingAppClass extends Component { + createNewWallet = (goSeedScreen: boolean = true) => { this.setState({ actionButtonsDisabled: true }); setTimeout(async () => { let seed: string = await RPCModule.createNewWallet(this.state.server.uri, this.state.server.chain_name); @@ -812,7 +812,7 @@ export class LoadingAppClass extends Component same screen. this.setState(state => ({ wallet, - screen: state.mode === ModeEnum.basic ? state.screen : 2, + screen: goSeedScreen ? 2 : state.screen, actionButtonsDisabled: false, walletExists: true, })); @@ -904,6 +904,8 @@ export class LoadingAppClass extends Component