From 978df96aafdc27b1b709e054a37e423d16f5287f Mon Sep 17 00:00:00 2001 From: balint1414 Date: Thu, 2 Oct 2025 20:21:42 +0200 Subject: [PATCH] =?UTF-8?q?#78=20Dolgozatn=C3=A1l=20hib=C3=A1s=20t=C3=B6rd?= =?UTF-8?q?el=C3=A9s=20fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- firka/lib/ui/phone/widgets/lesson.dart | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/firka/lib/ui/phone/widgets/lesson.dart b/firka/lib/ui/phone/widgets/lesson.dart index 84837678..df8839fc 100644 --- a/firka/lib/ui/phone/widgets/lesson.dart +++ b/firka/lib/ui/phone/widgets/lesson.dart @@ -187,11 +187,13 @@ class LessonWidget extends StatelessWidget { if (test != null && showTests) { var theme = test!.theme; - if (theme.length >= 25) { - theme = "${theme.substring(0, 25)}..."; + if (theme.length >= 20) { + theme = "${theme.substring(0, 20)}..."; } var method = test!.method.description ?? 'N/A'; - + if (method.length >= 15) { + method = "${method.substring(0, 15)}..."; + } theme = theme.firstUpper(); method = method.firstUpper();