fix: omission info card

This commit is contained in:
checkedear
2026-06-15 11:50:46 +02:00
parent a64a7f7509
commit 9aaf43892f

View File

@@ -113,7 +113,13 @@ class InfoCard extends StatelessWidget {
OmissionState.excused,
]) {
final count = omissions.where((o) => o.state == state).length;
if (count == 0) {
continue;
}
title = initData.l10n.omissions_count(state.name, count);
break;
}
return InfoCard(
icon: FilledCircle(