@@ -250,14 +250,26 @@ def extend_wizard(self, wizard: 'QENewWalletWizard'):
250250 'gui' : WCCreateSeed ,
251251 'params' : {'icon' : self .icon_path ('trustedcoin-wizard.png' )},
252252 },
253+ 'trustedcoin_create_ext' : {
254+ 'gui' : WCEnterExt ,
255+ 'params' : {'icon' : self .icon_path ('trustedcoin-wizard.png' )},
256+ },
253257 'trustedcoin_confirm_seed' : {
254258 'gui' : WCConfirmSeed ,
255259 'params' : {'icon' : self .icon_path ('trustedcoin-wizard.png' )},
256260 },
261+ 'trustedcoin_confirm_ext' : {
262+ 'gui' : WCConfirmExt ,
263+ 'params' : {'icon' : self .icon_path ('trustedcoin-wizard.png' )},
264+ },
257265 'trustedcoin_have_seed' : {
258266 'gui' : WCHaveSeed ,
259267 'params' : {'icon' : self .icon_path ('trustedcoin-wizard.png' )},
260268 },
269+ 'trustedcoin_have_ext' : {
270+ 'gui' : WCEnterExt ,
271+ 'params' : {'icon' : self .icon_path ('trustedcoin-wizard.png' )},
272+ },
261273 'trustedcoin_keep_disable' : {
262274 'gui' : WCKeepDisable ,
263275 'params' : {'icon' : self .icon_path ('trustedcoin-wizard.png' )},
@@ -277,35 +289,6 @@ def extend_wizard(self, wizard: 'QENewWalletWizard'):
277289 }
278290 wizard .navmap_merge (views )
279291
280- # modify default flow, insert seed extension entry/confirm as separate views
281- ext = {
282- 'trustedcoin_create_seed' : {
283- 'next' : lambda d : 'trustedcoin_create_ext' if wizard .wants_ext (d ) else 'trustedcoin_confirm_seed'
284- },
285- 'trustedcoin_create_ext' : {
286- 'gui' : WCEnterExt ,
287- 'params' : {'icon' : self .icon_path ('trustedcoin-wizard.png' )},
288- 'next' : 'trustedcoin_confirm_seed' ,
289- },
290- 'trustedcoin_confirm_seed' : {
291- 'next' : lambda d : 'trustedcoin_confirm_ext' if wizard .wants_ext (d ) else 'trustedcoin_tos'
292- },
293- 'trustedcoin_confirm_ext' : {
294- 'gui' : WCConfirmExt ,
295- 'params' : {'icon' : self .icon_path ('trustedcoin-wizard.png' )},
296- 'next' : 'trustedcoin_tos' ,
297- },
298- 'trustedcoin_have_seed' : {
299- 'next' : lambda d : 'trustedcoin_have_ext' if wizard .wants_ext (d ) else 'trustedcoin_keep_disable'
300- },
301- 'trustedcoin_have_ext' : {
302- 'gui' : WCEnterExt ,
303- 'params' : {'icon' : self .icon_path ('trustedcoin-wizard.png' )},
304- 'next' : 'trustedcoin_keep_disable' ,
305- },
306- }
307- wizard .navmap_merge (ext )
308-
309292 # insert page offering choice to go online or continue on another system
310293 ext_online = {
311294 'trustedcoin_continue_online' : {
0 commit comments