From c8cd6bf9b84c3b898bc9260876f393c2e727939f Mon Sep 17 00:00:00 2001 From: unknown <55nknown@pm.me> Date: Sat, 2 Oct 2021 15:44:33 +0200 Subject: [PATCH] subject icon fix --- filcnaplo/lib/helpers/subject_icon.dart | 4 ++-- filcnaplo_kreta_api | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/filcnaplo/lib/helpers/subject_icon.dart b/filcnaplo/lib/helpers/subject_icon.dart index 8b16447..fd6f073 100644 --- a/filcnaplo/lib/helpers/subject_icon.dart +++ b/filcnaplo/lib/helpers/subject_icon.dart @@ -16,7 +16,7 @@ class SubjectIcon { if (RegExp("irodalom").hasMatch(name)) return Icons.menu_book_outlined; if (RegExp("tor(i|tenelem)").hasMatch(name)) return Icons.hourglass_empty_outlined; if (RegExp("foldrajz").hasMatch(name)) return Icons.public_outlined; - if (RegExp("rajz|muvtori|muveszet|kultura").hasMatch(name)) return Icons.palette_outlined; + if (RegExp("rajz|muvtori|muveszet").hasMatch(name)) return Icons.palette_outlined; if (RegExp("fizika").hasMatch(name)) return Icons.emoji_objects_outlined; if (RegExp("^enek|zene|szolfezs|zongora|korus").hasMatch(name)) return Icons.music_note_outlined; if (RegExp("^tes(i|tneveles)|sport").hasMatch(name)) return Icons.sports_soccer_outlined; @@ -25,7 +25,7 @@ class SubjectIcon { if (RegExp("kornyezet|termeszet(tudomany|ismeret)|hon( es nep)?ismeret").hasMatch(name)) return Icons.eco_outlined; if (RegExp("(hit|erkolcs)tan|vallas|etika").hasMatch(name)) return Icons.favorite_border_outlined; if (RegExp("penzugy").hasMatch(name)) return Icons.savings_outlined; - if (RegExp("informatika|szoftver|iroda").hasMatch(name)) return Icons.computer_outlined; + if (RegExp("informatika|szoftver|iroda|digitalis").hasMatch(name)) return Icons.computer_outlined; if (RegExp("prog").hasMatch(name)) return Icons.code_outlined; if (RegExp("halozat").hasMatch(name)) return Icons.wifi_tethering_outlined; if (RegExp("szinhaz").hasMatch(name)) return Icons.theater_comedy_outlined; diff --git a/filcnaplo_kreta_api b/filcnaplo_kreta_api index bfd8411..54f93dd 160000 --- a/filcnaplo_kreta_api +++ b/filcnaplo_kreta_api @@ -1 +1 @@ -Subproject commit bfd84111583c4e8fdf90ded9b94c5dc255134dca +Subproject commit 54f93dd273491071451a6e684a1d241a4875f8c4