always show shield but change color

This commit is contained in:
Fabian Freund
2026-01-22 15:43:10 +01:00
parent 597e68cbc8
commit f66c1a11ec
@@ -87,14 +87,15 @@ class AppBarTitle extends HookConsumerWidget {
clipBehavior: Clip.none, clipBehavior: Clip.none,
children: [ children: [
TabIcon(tabState: tabState, iconSize: 24), TabIcon(tabState: tabState, iconSize: 24),
if (showSiteSettingsBadge)
Positioned( Positioned(
top: -4, top: -4,
right: -4, right: -4,
child: Icon( child: Icon(
MdiIcons.shieldHalfFull, MdiIcons.shieldHalfFull,
size: 10, size: 10,
color: appColors.warningAmber, color: showSiteSettingsBadge
? appColors.warningAmber
: Colors.green,
), ),
), ),
], ],