[client] Add a UI setting to stay connected after quitting (#7078)

Quitting the GUI from the tray always sent a Down RPC, dropping the VPN
connection with it. Some users want the connection to survive the UI.
This commit is contained in:
Zoltan Papp
2026-08-06 12:56:27 +02:00
committed by GitHub
parent 98f8a24108
commit 1e2a7aa571
17 changed files with 201 additions and 6 deletions
+4
View File
@@ -34,3 +34,7 @@ func (s *Preferences) SetViewMode(_ context.Context, mode preferences.ViewMode)
func (s *Preferences) SetOnboardingCompleted(_ context.Context, done bool) error {
return s.store.SetOnboardingCompleted(done)
}
func (s *Preferences) SetKeepConnectedOnQuit(_ context.Context, keep bool) error {
return s.store.SetKeepConnectedOnQuit(keep)
}