fixed subject icon things

This commit is contained in:
Kima
2023-10-12 21:10:14 +02:00
parent 1cc885e4b7
commit 86f7cf3b2e
22 changed files with 10 additions and 706 deletions

View File

@@ -32,7 +32,7 @@ class ExamTile extends StatelessWidget {
padding: const EdgeInsets.only(top: 2.0),
child: Icon(
SubjectIcon.resolveVariant(
subjectName: exam.subject.name, context: context),
subject: exam.subject, context: context),
size: 28.0,
color: AppColors.of(context).text.withOpacity(.75),
),