Fix crash on daemon not running

This commit is contained in:
Bernd Schoolmann 2024-06-01 14:32:15 +02:00
parent 09c7e7521f
commit 275ba9a3d2
No known key found for this signature in database
1 changed files with 1 additions and 2 deletions

View File

@ -101,8 +101,7 @@ class GoldwardenSettingsApp(Adw.Application):
if status == None: if status == None:
is_daemon_running = goldwarden.is_daemon_running() is_daemon_running = goldwarden.is_daemon_running()
if not is_daemon_running: if not is_daemon_running:
self.status_row.set_subtitle("Daemon not running") print("Daemon not running")
self.vault_status_icon.set_icon("dialog-error", "error")
return return
logged_in = status["loggedIn"] logged_in = status["loggedIn"]