fix: separate the "misses" and "delays" empty case strings

This commit is contained in:
pml68
2024-02-24 22:58:33 +01:00
parent c5526a41d3
commit 310636413e
4 changed files with 14 additions and 8 deletions

View File

@@ -423,7 +423,7 @@ class AbsencesPageState extends State<AbsencesPage>
child: filterWidgets[index - (activeData <= 1 ? 1 : 0)],
);
} else {
return Empty(subtitle: "empty".i18n);
return _tabController.index == 1 ? Empty(subtitle: "emptyDelays".i18n) : Empty(subtitle: "emptyMisses".i18n);
}
},
),