mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-03 02:35:20 +00:00
fix android seed dialog if password is empty
This commit is contained in:
parent
8a495f4071
commit
c427e085b3
1 changed files with 4 additions and 1 deletions
|
@ -916,6 +916,9 @@ class ElectrumGui:
|
||||||
if password != password2:
|
if password != password2:
|
||||||
modal_dialog('Error','passwords do not match')
|
modal_dialog('Error','passwords do not match')
|
||||||
exit()
|
exit()
|
||||||
|
else:
|
||||||
|
# set to None if it's an empty string
|
||||||
|
password = None
|
||||||
|
|
||||||
if action == 'create':
|
if action == 'create':
|
||||||
wallet = Wallet(storage)
|
wallet = Wallet(storage)
|
||||||
|
@ -1002,7 +1005,7 @@ class ElectrumGui:
|
||||||
else:
|
else:
|
||||||
return
|
return
|
||||||
else:
|
else:
|
||||||
m = modal_input('Mnemonic','please enter your code')
|
seed = modal_input('Mnemonic', 'please enter your code')
|
||||||
return str(seed)
|
return str(seed)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue