cleanup
This commit is contained in:
parent
4c0035de38
commit
22291891f2
@ -10,7 +10,7 @@ class SubjectIcon {
|
||||
String name = subject?.name.toLowerCase().specialChars() ?? subjectName ?? "";
|
||||
String category = subject?.category.description.toLowerCase().specialChars() ?? "";
|
||||
|
||||
// TODO: check for categories
|
||||
// todo: check for categories
|
||||
if (RegExp("mate(k|matika)").hasMatch(name) || category == "matematika") return Icons.calculate_outlined;
|
||||
if (RegExp("magyar nyelv|nyelvtan").hasMatch(name)) return Icons.spellcheck_outlined;
|
||||
if (RegExp("irodalom").hasMatch(name)) return Icons.menu_book_outlined;
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 73abe79bf1f106d65424c81244a65a0fca92a778
|
||||
Subproject commit 9d2021a97aad1a41d57caba7bf09d961221740cd
|
Loading…
x
Reference in New Issue
Block a user