added settings option for custom text color

This commit is contained in:
Kima
2024-03-27 22:03:13 +01:00
parent 97049bae46
commit a6563f9a7e
5 changed files with 66 additions and 11 deletions

View File

@@ -10,7 +10,7 @@ class FilterBar extends StatelessWidget implements PreferredSizeWidget {
this.padding = const EdgeInsets.symmetric(horizontal: 24.0),
this.disableFading = false,
this.scrollable = true,
}) : assert(items.length == controller.length);
}) : assert(items.length == controller.length);
final List<Widget> items;
final TabController controller;

View File

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