fix: get_action
This commit is contained in:
@@ -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/'):
|
||||||
|
|||||||
Reference in New Issue
Block a user