From 762788ea9eda058b331f358fceb93a298a3c89b0 Mon Sep 17 00:00:00 2001 From: flemming-it Date: Fri, 19 Jun 2026 02:31:46 +0200 Subject: [PATCH] fix(studio): restore pulsing sidebar connection dot when connected MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The collapsed connection dot was a static Container after the sidebar refactor; route it through the shared ChainStatusDot with pulsing tied to the connected state — a living live-signal, steady when down or unknown. Signed-off-by: flemming-it --- lib/main.dart | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/lib/main.dart b/lib/main.dart index 208a3c4..e7da38c 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -1183,21 +1183,10 @@ class _CollapsedConnectionDot extends StatelessWidget { : connected == false ? theme.colorScheme.error : ChainColors.warning; - return Container( - width: 10, - height: 10, - decoration: BoxDecoration( - color: color, - shape: BoxShape.circle, - boxShadow: [ - BoxShadow( - color: color.withValues(alpha: 0.35), - blurRadius: 4, - spreadRadius: 0.5, - ), - ], - ), - ); + // Pulse only while connected — a living "this is live" signal, + // steady when down/unknown. Restores the pulse lost in the + // sidebar refactor; reuses the shared ChainStatusDot. + return ChainStatusDot(color: color, pulsing: connected == true, size: 10); } }