File tree 1 file changed +6
-2
lines changed
catalyst_voices/lib/pages/registration/create_keychain/stage
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,9 @@ class _SeedPhraseCheckPanelState extends State<SeedPhraseCheckPanel> {
38
38
super .initState ();
39
39
40
40
_updateSeedPhraseWords ();
41
- _updateUserWords ();
41
+ // Note. In debug mode we're prefilling correct seed phrase words
42
+ // so its faster to test screens
43
+ _updateUserWords (kDebugMode ? _seedPhraseWords : const []);
42
44
}
43
45
44
46
@override
@@ -47,7 +49,9 @@ class _SeedPhraseCheckPanelState extends State<SeedPhraseCheckPanel> {
47
49
48
50
if (widget.seedPhrase != oldWidget.seedPhrase) {
49
51
_updateSeedPhraseWords ();
50
- _updateUserWords ();
52
+ // Note. In debug mode we're prefilling correct seed phrase words
53
+ // so its faster to test screens
54
+ _updateUserWords (kDebugMode ? _seedPhraseWords : const []);
51
55
}
52
56
}
53
57
You can’t perform that action at this time.
0 commit comments