diff --git a/dev.deedles.Trayscale.metainfo.xml b/dev.deedles.Trayscale.metainfo.xml index d7f9053..8fac70c 100644 --- a/dev.deedles.Trayscale.metainfo.xml +++ b/dev.deedles.Trayscale.metainfo.xml @@ -28,6 +28,7 @@ https://github.com/DeedleFake/trayscale/assets/326750/156e5138-ce60-4940-8cdc-67afa27fcf6f + https://github.com/DeedleFake/trayscale/assets/326750/2d06e023-9c24-4d72-9e28-c62f6fb53832 @@ -46,6 +47,12 @@ + + +
    Strip debugging symbols to reduce binary size.
+
    Remove Mullvad page when switching to offline.
+
+
    Move all Mullvad nodes into their own page.
diff --git a/internal/ui/app.go b/internal/ui/app.go index c86651f..4480e6d 100644 --- a/internal/ui/app.go +++ b/internal/ui/app.go @@ -113,11 +113,16 @@ func (a *App) updatePeersOffline() { } clear(a.peerPages) - if (a.selfPage != nil) && (stack.Page(a.selfPage.page.Root()).Object != nil) { + if a.selfPage != nil { stack.Remove(a.selfPage.page.Root()) a.selfPage = nil } + if a.mullvadPage != nil { + stack.Remove(a.mullvadPage.page.Root()) + a.mullvadPage = nil + } + if stack.Page(a.statusPage).Object == nil { stack.AddTitled(a.statusPage, "status", "Not Connected") }