1
0
forked from firka/firka

fix(bottom_sheet): make text expanded to avoid overflow

This commit is contained in:
2026-09-16 22:28:55 +02:00
parent 76fa644ccd
commit 6a058f5166

View File

@@ -167,10 +167,13 @@ Future<void> showLessonBottomSheet(
SizedBox(height: 20),
Row(
children: [
Text(
"${lesson.name} ${statsForNerdsEnabled ? "(${lesson.subject.loadAndGet()!.name})" : ""}",
style: appStyle.fonts.H_18px.apply(
color: appStyle.colors.textPrimary,
Expanded(
child: Text(
"${lesson.name} ${statsForNerdsEnabled ? "(${lesson.subject.loadAndGet()!.name})" : ""}",
style: appStyle.fonts.H_18px.apply(
color: appStyle.colors.textPrimary,
),
softWrap: true,
),
),
],