|
|
|
|
@ -2,6 +2,7 @@
|
|
|
|
|
from functools import partial |
|
|
|
|
import threading |
|
|
|
|
import os |
|
|
|
|
from typing import TYPE_CHECKING |
|
|
|
|
|
|
|
|
|
from kivy.app import App |
|
|
|
|
from kivy.clock import Clock |
|
|
|
|
@ -24,6 +25,10 @@ from . import EventsDialog
|
|
|
|
|
from ...i18n import _ |
|
|
|
|
from .password_dialog import PasswordDialog |
|
|
|
|
|
|
|
|
|
if TYPE_CHECKING: |
|
|
|
|
from electrum.gui.kivy.main_window import ElectrumWindow |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# global Variables |
|
|
|
|
is_test = (platform == "linux") |
|
|
|
|
test_seed = "grape impose jazz bind spatial mind jelly tourist tank today holiday stomach" |
|
|
|
|
@ -1153,7 +1158,7 @@ class InstallWizard(BaseWizard, Widget):
|
|
|
|
|
def show_message(self, msg): self.show_error(msg) |
|
|
|
|
|
|
|
|
|
def show_error(self, msg): |
|
|
|
|
app = App.get_running_app() |
|
|
|
|
app = App.get_running_app() # type: ElectrumWindow |
|
|
|
|
Clock.schedule_once(lambda dt: app.show_error(msg)) |
|
|
|
|
|
|
|
|
|
def request_password(self, run_next, force_disable_encrypt_cb=False): |
|
|
|
|
|