fix: get_action
This commit is contained in:
parent
7a47d2341e
commit
494d7faa22
|
@ -456,6 +456,8 @@ class TrustedCoinPlugin(BasePlugin):
|
|||
|
||||
@hook
|
||||
def get_action(self, storage):
|
||||
if storage.get('wallet_type') != '2fa':
|
||||
return
|
||||
if not storage.get('x1/'):
|
||||
return self, 'show_disclaimer'
|
||||
if not storage.get('x2/'):
|
||||
|
|
Loading…
Reference in New Issue