diff --git a/gui/v2/infrastructure/setup_observers.py b/gui/v2/infrastructure/setup_observers.py index 51b3ef2..f21de79 100755 --- a/gui/v2/infrastructure/setup_observers.py +++ b/gui/v2/infrastructure/setup_observers.py @@ -21,8 +21,12 @@ def setup_observers(update_status): profile_observer.subscribe( 'destroyed', lambda event: update_status('Profile destroyed')) + # client_observer.subscribe( + # 'synchronizing', lambda event: update_status('Sync in progress...')) + client_observer.subscribe( - 'synchronizing', lambda event: update_status('Sync in progress...')) + 'synchronizing', lambda event: update_status(f'{event.subject if event.subject else "Sync in progress..."}')) + client_observer.subscribe( 'synchronized', lambda event: update_status('Sync complete')) @@ -46,8 +50,12 @@ def setup_observers(update_status): connection_observer.subscribe('tor_bootstrapping', lambda event: update_status( 'Establishing Tor connection...')) - connection_observer.subscribe('tor_bootstrap_progressing', lambda event: update_status( - f'Bootstrapping Tor {event.meta.get('progress'):.2f}%')) + connection_observer.subscribe( + 'tor_bootstrap_progressing', lambda event: update_status(f'{event.subject if event.subject else "Tor Bootstrapping.."}')) + + # original replaced version: + # connection_observer.subscribe('tor_bootstrap_progressing', lambda event: update_status( + # f'Bootstrapping Tor {event.meta.get('progress'):.2f}%')) connection_observer.subscribe( 'tor_bootstrapped', lambda event: update_status('Tor connection established.')) diff --git a/pyproject.toml b/pyproject.toml index f741d91..7165b05 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "hydraveil-gui" -version = "2.4.1" +version = "2.4.2" authors = [ { name = "Simplified Privacy" }, ] @@ -12,7 +12,7 @@ classifiers = [ "Operating System :: POSIX :: Linux", ] dependencies = [ - "sp-hydra-veil-core == 2.3.4", + "sp-hydra-veil-core == 2.3.6", "pyperclip ~= 1.9.0", "pyqt6 ~= 6.7.1", "qrcode[pil] ~= 8.2"