1
0
forked from firka/firka

fix: issue #16

This commit is contained in:
checkedear
2026-03-27 19:32:20 +01:00
parent 68035140b9
commit 1a05cce49b

View File

@@ -321,41 +321,35 @@ class _HomeMainScreen extends FirkaState<HomeMainScreen> {
noticeBoardWidgets.add((
GestureDetector(
child: FirkaCard(
left: [
Row(
left: [],
extra: Row(
children: [
GradeWidget(grade),
SizedBox(width: 8),
Column(
Expanded(
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
SizedBox(
width: MediaQuery.of(context).size.width / 1.45,
child: Text(
(grade.topic ?? grade.type.description!)
.firstUpper(),
Text(
(grade.topic ?? grade.type.description!).firstUpper(),
style: appStyle.fonts.B_16SB.apply(
color: appStyle.colors.textPrimary,
),
),
),
grade.mode?.description != null
? SizedBox(
width: MediaQuery.of(context).size.width / 1.45,
child: Text(
? Text(
grade.mode!.description!.firstUpper(),
style: appStyle.fonts.B_16R.apply(
color: appStyle.colors.textSecondary,
),
),
)
: SizedBox(),
],
),
],
),
],
),
),
onTap: () {
showGradeBottomSheet(context, widget.data, grade);
},