kivy: request PIN to load_wallet only on android

This commit is contained in:
ThomasV 2019-09-11 16:36:04 +02:00
parent 215dc96de7
commit 30092cd68c

View file

@ -596,7 +596,7 @@ class ElectrumWindow(App):
return
wallet = self.daemon.load_wallet(path, None)
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)
else:
self.load_wallet(wallet)