forked from firka/student-legacy
added exam filter finally
This commit is contained in:
parent
bdfec4230b
commit
70c8ac1876
@ -35,6 +35,7 @@ import 'package:provider/provider.dart';
|
||||
const List<FilterType> homeFilters = [
|
||||
FilterType.all,
|
||||
FilterType.grades,
|
||||
FilterType.exams,
|
||||
FilterType.messages,
|
||||
FilterType.absences
|
||||
];
|
||||
|
@ -63,7 +63,7 @@ class HomePageState extends State<HomePage> with TickerProviderStateMixin {
|
||||
late String firstName;
|
||||
|
||||
late List<String> listOrder;
|
||||
static const pageCount = 4;
|
||||
static const pageCount = 5;
|
||||
|
||||
@override
|
||||
void initState() {
|
||||
@ -258,6 +258,7 @@ class HomePageState extends State<HomePage> with TickerProviderStateMixin {
|
||||
items: [
|
||||
Tab(text: "All".i18n),
|
||||
Tab(text: "Grades".i18n),
|
||||
Tab(text: "Exams".i18n),
|
||||
Tab(text: "Messages".i18n),
|
||||
Tab(text: "Absences".i18n),
|
||||
],
|
||||
@ -351,7 +352,7 @@ class HomePageState extends State<HomePage> with TickerProviderStateMixin {
|
||||
: Container(),
|
||||
);
|
||||
},
|
||||
childCount: 4,
|
||||
childCount: 5,
|
||||
findChildIndexCallback: (Key key) {
|
||||
final ValueKey<String> valueKey =
|
||||
key as ValueKey<String>;
|
||||
|
@ -15,6 +15,7 @@ extension Localization on String {
|
||||
"empty": "Nothing to see here.",
|
||||
"All": "All",
|
||||
"Grades": "Grades",
|
||||
"Exams": "Exams",
|
||||
"Messages": "Messages",
|
||||
"Absences": "Absences",
|
||||
"update_available": "Update Available",
|
||||
@ -34,6 +35,7 @@ extension Localization on String {
|
||||
"empty": "Nincs itt semmi látnivaló.",
|
||||
"All": "Összes",
|
||||
"Grades": "Jegyek",
|
||||
"Exams": "Számonkérések",
|
||||
"Messages": "Üzenetek",
|
||||
"Absences": "Hiányok",
|
||||
"update_available": "Frissítés elérhető",
|
||||
@ -53,6 +55,7 @@ extension Localization on String {
|
||||
"empty": "Hier gibt es nichts zu sehen.",
|
||||
"All": "Alles",
|
||||
"Grades": "Noten",
|
||||
"Exams": "Aufsätze",
|
||||
"Messages": "Nachrichten",
|
||||
"Absences": "Fehlen",
|
||||
"update_available": "Update verfügbar",
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 49ad58f4d9711a0b2d9716d456e8781ff6b92250
|
||||
Subproject commit e752080370940bca25f1894de2712286ef0ab0a7
|
Loading…
x
Reference in New Issue
Block a user