qml: skip confirm messagedialog if pin is enabled
This commit is contained in:
@@ -390,7 +390,7 @@ class QESwapHelper(AuthMixin, QObject, QtEventListener):
|
|||||||
if not self._wallet.wallet.network:
|
if not self._wallet.wallet.network:
|
||||||
self.error.emit(_("You are offline."))
|
self.error.emit(_("You are offline."))
|
||||||
return
|
return
|
||||||
if confirm:
|
if confirm or self._wallet.wallet.config.get('pin_code', ''):
|
||||||
self._do_execute_swap()
|
self._do_execute_swap()
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user