From 5ef21222aa691ccad166b3bafab326392d963026 Mon Sep 17 00:00:00 2001 From: balint1414 Date: Tue, 24 Feb 2026 21:16:31 +0100 Subject: [PATCH] =?UTF-8?q?Hiba=20fix=20(-1-es=20=C3=B3rasz=C3=A1m)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- firka/lib/ui/phone/widgets/lesson.dart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/firka/lib/ui/phone/widgets/lesson.dart b/firka/lib/ui/phone/widgets/lesson.dart index d89eb194..7603ab3f 100644 --- a/firka/lib/ui/phone/widgets/lesson.dart +++ b/firka/lib/ui/phone/widgets/lesson.dart @@ -82,7 +82,9 @@ class LessonWidget extends StatelessWidget { } elements.add(GestureDetector( + onTap: () { + if (lessonNo == null) return; showLessonBottomSheet( context, data, lesson, lessonNo, accent, secondary, bgColor, test); }, @@ -92,7 +94,7 @@ class LessonWidget extends StatelessWidget { : appStyle.colors.card, shadow: !isDismissed, left: [ - showLessonNos == false + showLessonNos == false || lessonNo == null ? SizedBox() : SizedBox( width: 18,