mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-29 16:31:29 +00:00
kivy: request PIN to load_wallet only on android
This commit is contained in:
parent
215dc96de7
commit
30092cd68c
1 changed files with 1 additions and 1 deletions
|
@ -596,7 +596,7 @@ class ElectrumWindow(App):
|
||||||
return
|
return
|
||||||
wallet = self.daemon.load_wallet(path, None)
|
wallet = self.daemon.load_wallet(path, None)
|
||||||
if wallet:
|
if wallet:
|
||||||
if wallet.has_password():
|
if platform == 'android' and wallet.has_password():
|
||||||
self.password_dialog(wallet, _('Enter PIN code'), lambda x: self.load_wallet(wallet), self.stop)
|
self.password_dialog(wallet, _('Enter PIN code'), lambda x: self.load_wallet(wallet), self.stop)
|
||||||
else:
|
else:
|
||||||
self.load_wallet(wallet)
|
self.load_wallet(wallet)
|
||||||
|
|
Loading…
Add table
Reference in a new issue