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
|
: connected == false
|
||||||
? theme.colorScheme.error
|
? theme.colorScheme.error
|
||||||
: ChainColors.warning;
|
: ChainColors.warning;
|
||||||
return Container(
|
// Pulse only while connected — a living "this is live" signal,
|
||||||
width: 10,
|
// steady when down/unknown. Restores the pulse lost in the
|
||||||
height: 10,
|
// sidebar refactor; reuses the shared ChainStatusDot.
|
||||||
decoration: BoxDecoration(
|
return ChainStatusDot(color: color, pulsing: connected == true, size: 10);
|
||||||
color: color,
|
|
||||||
shape: BoxShape.circle,
|
|
||||||
boxShadow: [
|
|
||||||
BoxShadow(
|
|
||||||
color: color.withValues(alpha: 0.35),
|
|
||||||
blurRadius: 4,
|
|
||||||
spreadRadius: 0.5,
|
|
||||||
),
|
|
||||||
],
|
|
||||||
),
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue