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

View File

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