Livecardrework (#104)

This commit is contained in:
unknown
2022-05-02 22:07:06 +02:00
committed by GitHub
parent 708c411339
commit 3c431cbce1
23 changed files with 415 additions and 176 deletions

View File

@@ -35,7 +35,7 @@ class SubjectIcon {
if (RegExp("technika").hasMatch(name)) return Icons.build_outlined;
if (RegExp("tanc").hasMatch(name)) return Icons.speaker_outlined;
if (RegExp("filozofia").hasMatch(name)) return Icons.psychology_outlined;
if (RegExp("osztaly(fonoki|kozosseg)").hasMatch(name)) return Icons.groups_outlined;
if (RegExp("osztaly(fonoki|kozosseg)").hasMatch(name) || name == "ofo") return Icons.groups_outlined;
if (RegExp("gazdasag").hasMatch(name)) return Icons.account_balance_outlined;
if (RegExp("szorgalom").hasMatch(name)) return Icons.verified_outlined;
if (RegExp("magatartas").hasMatch(name)) return Icons.emoji_people_outlined;

View File

@@ -32,7 +32,7 @@ extension UpdateHelper on Release {
if (result.type != ResultType.done) {
// ignore: avoid_print
print("ERROR: installUpdate.openFile: " + result.message);
print("ERROR: installUpdate.openFile: ${result.message}");
throw result.message;
}