Skip to content
This repository was archived by the owner on Feb 23, 2021. It is now read-only.

Commit aca414d

Browse files
Navigate to SelectSeed instead of Seed on fresh app start.
1 parent 1fd414c commit aca414d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/action/wallet.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ class WalletAction {
121121
this._store.firstStart = true;
122122
this._nav.goLoader();
123123
await nap(NOTIFICATION_DELAY);
124-
this._nav.goSeed();
124+
this._nav.goSelectSeed();
125125
} catch (err) {
126126
this.initPassword();
127127
}

test/unit/action/wallet.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ describe('Action Wallet Unit Tests', () => {
104104
expect(store.firstStart, 'to be', true);
105105
expect(store.seedMnemonic, 'to equal', 'foo bar');
106106
expect(nav.goLoader, 'was called once');
107-
expect(nav.goSeed, 'was called once');
107+
expect(nav.goSelectSeed, 'was called once');
108108
});
109109

110110
it('should navigate to password unlock if wallet already exists', async () => {

0 commit comments

Comments
 (0)