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,16 +87,17 @@ 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: showSiteSettingsBadge
color: appColors.warningAmber, ? appColors.warningAmber
), : Colors.green,
), ),
),
], ],
), ),
), ),