grades/{subjects}: fix text colors

This commit is contained in:
2025-09-11 14:54:48 +02:00
parent 9039356cfd
commit 60e0a1755b

View File

@@ -101,15 +101,16 @@ class _HomeGradesSubjectScreen extends FirkaState<HomeGradesSubjectScreen> {
SizedBox(
width: MediaQuery.of(context).size.width / 1.45,
child: Text(grade.topic ?? grade.type.description!,
style: appStyle.fonts.B_14SB),
style: appStyle.fonts.B_14SB
.apply(color: appStyle.colors.textPrimary)),
),
grade.mode?.description != null
? SizedBox(
width: MediaQuery.of(context).size.width / 1.45,
child: Text(
grade.mode!.description!,
style: appStyle.fonts.B_14R
.apply(color: appStyle.colors.textPrimary),
style: appStyle.fonts.B_14R.apply(
color: appStyle.colors.textSecondary),
),
)
: SizedBox(),