From 4302a83642aa2225acf4dac96c27dc8a0459c2b9 Mon Sep 17 00:00:00 2001 From: DeedleFake Date: Fri, 3 May 2024 01:10:22 -0400 Subject: [PATCH 1/4] Update dev.deedles.Trayscale.metainfo.xml --- dev.deedles.Trayscale.metainfo.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dev.deedles.Trayscale.metainfo.xml b/dev.deedles.Trayscale.metainfo.xml index d7f9053..ef983a5 100644 --- a/dev.deedles.Trayscale.metainfo.xml +++ b/dev.deedles.Trayscale.metainfo.xml @@ -46,6 +46,11 @@ + + +
    Strip debugging symbols to reduce binary size.
+
+
    Move all Mullvad nodes into their own page.
From 0e8c3bbcf9e5fa47f4ff9ad80f3ff0bba49fb0d7 Mon Sep 17 00:00:00 2001 From: DeedleFake Date: Fri, 3 May 2024 01:13:11 -0400 Subject: [PATCH 2/4] internal/ui: remove Mullvad page when offline --- internal/ui/app.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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") } From 98671e5d6d1a7d2cf43172527a65644fe4306877 Mon Sep 17 00:00:00 2001 From: DeedleFake Date: Fri, 3 May 2024 01:16:08 -0400 Subject: [PATCH 3/4] meta: add a screenshot of the offline UI to the metainfo --- dev.deedles.Trayscale.metainfo.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/dev.deedles.Trayscale.metainfo.xml b/dev.deedles.Trayscale.metainfo.xml index ef983a5..9ec8ea4 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 From 613c3e2d66b6ef2163c83888646d64f50f24a1ab Mon Sep 17 00:00:00 2001 From: DeedleFake Date: Fri, 3 May 2024 01:17:04 -0400 Subject: [PATCH 4/4] meta: add bug fix to metainfo changelist --- dev.deedles.Trayscale.metainfo.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/dev.deedles.Trayscale.metainfo.xml b/dev.deedles.Trayscale.metainfo.xml index 9ec8ea4..8fac70c 100644 --- a/dev.deedles.Trayscale.metainfo.xml +++ b/dev.deedles.Trayscale.metainfo.xml @@ -50,6 +50,7 @@
    Strip debugging symbols to reduce binary size.
+
    Remove Mullvad page when switching to offline.