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