From 4b9a3a3f74b29d0469219f749c5528ed4cfcd938 Mon Sep 17 00:00:00 2001 From: Julian Sparber Date: Wed, 8 Jul 2026 10:58:47 +0200 Subject: [PATCH] app: Remove connection toggle for now The node doesn't support going offline for now so remove the switcher from the UI. --- reflection-app/src/connection_popover/connection_popover.blp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/reflection-app/src/connection_popover/connection_popover.blp b/reflection-app/src/connection_popover/connection_popover.blp index c749d0a..b35de42 100644 --- a/reflection-app/src/connection_popover/connection_popover.blp +++ b/reflection-app/src/connection_popover/connection_popover.blp @@ -74,6 +74,8 @@ template $ReflectionConnectionPopover: Adw.Bin { Adw.ToggleGroup connection_mode_switch { homogeneous: true; + /* Disabled for now since the new node doesn't support it */ + visible: false; Adw.Toggle { tooltip: _("Disable communication with the outside world"); @@ -168,7 +170,8 @@ template $ReflectionConnectionPopover: Adw.Bin { propagate-natural-width: true; propagate-natural-height: true; max-content-height: 300; - margin-top: 12; + /* Removed because of hidden connection toggle + margin-top: 12; */ hscrollbar-policy: never; child: $ReflectionAuthorList author_list {};