From dbbc119fd544abefcde86500e9993318fcd7cdc5 Mon Sep 17 00:00:00 2001 From: balint1414 Date: Tue, 21 Oct 2025 20:43:20 +0200 Subject: [PATCH] =?UTF-8?q?Hiba=20fix:=20nincs=20k=C3=B6z=C3=A9pen=20az=20?= =?UTF-8?q?=C3=B3rasz=C3=A1m?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- firka/lib/helpers/ui/common_bottom_sheets.dart | 12 ++++++------ firka/lib/ui/phone/widgets/lesson.dart | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/firka/lib/helpers/ui/common_bottom_sheets.dart b/firka/lib/helpers/ui/common_bottom_sheets.dart index c678a7d9..8511bf01 100644 --- a/firka/lib/helpers/ui/common_bottom_sheets.dart +++ b/firka/lib/helpers/ui/common_bottom_sheets.dart @@ -92,6 +92,7 @@ Future showLessonBottomSheet( width: 18, height: 18, child: Stack( + alignment: Alignment.center, children: [ SvgPicture.asset( "assets/icons/subtract.svg", @@ -99,12 +100,11 @@ Future showLessonBottomSheet( width: 18, height: 18, ), - Padding( - padding: EdgeInsets.only(left: 5), - child: Text(lessonNo.toString(), - style: appStyle.fonts.B_12R - .apply(color: secondary)), - ) + Text( + lessonNo.toString(), + style: appStyle.fonts.B_12R.apply(color: secondary), + textAlign: TextAlign.center, + ), ], ), ), diff --git a/firka/lib/ui/phone/widgets/lesson.dart b/firka/lib/ui/phone/widgets/lesson.dart index 7ace351e..d89eb194 100644 --- a/firka/lib/ui/phone/widgets/lesson.dart +++ b/firka/lib/ui/phone/widgets/lesson.dart @@ -98,6 +98,7 @@ class LessonWidget extends StatelessWidget { width: 18, height: 18, child: Stack( + alignment: Alignment.center, children: [ SvgPicture.asset( "assets/icons/subtract.svg", @@ -105,12 +106,11 @@ class LessonWidget extends StatelessWidget { width: 18, height: 18, ), - Padding( - padding: EdgeInsets.only(left: 5), - child: Text(lessonNo.toString(), - style: - appStyle.fonts.B_12R.apply(color: secondary)), - ) + Text( + lessonNo.toString(), + style: appStyle.fonts.B_12R.apply(color: secondary), + textAlign: TextAlign.center, + ), ], ), ),