fix(studio): restore pulsing sidebar connection dot when connected
Some checks failed
Security / Security check (push) Failing after 1s
Some checks failed
Security / Security check (push) Failing after 1s
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 <stefan.a.flemming@googlemail.com>
This commit is contained in:
parent
97f3cb8560
commit
762788ea9e
1 changed files with 4 additions and 15 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue