From 67a522753e1c1152d4f0216d80f3ecb793023461 Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Sun, 21 Dec 2025 13:37:49 +0800 Subject: [PATCH] :bug: Fix safe area on dashboard, close #206 --- lib/screens/dashboard/dash.dart | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/screens/dashboard/dash.dart b/lib/screens/dashboard/dash.dart index 0c36e676..992e77eb 100644 --- a/lib/screens/dashboard/dash.dart +++ b/lib/screens/dashboard/dash.dart @@ -99,7 +99,9 @@ class DashboardGrid extends HookConsumerWidget { SingleChildScrollView( padding: isWide ? const EdgeInsets.symmetric(horizontal: 24) - : const EdgeInsets.only(bottom: 64), + : EdgeInsets.only( + bottom: 64 + devicePadding.bottom, + ), scrollDirection: isWide ? Axis.horizontal : Axis.vertical, @@ -136,7 +138,7 @@ class _DashboardGridWide extends HookConsumerWidget { child: Column( spacing: 16, children: [ - CheckInWidget(margin: EdgeInsets.zero, checkInOnly: true), + CheckInWidget(margin: EdgeInsets.zero), Card( margin: EdgeInsets.zero, child: FortuneGraphWidget( @@ -190,7 +192,7 @@ class _DashboardGridNarrow extends HookConsumerWidget { children: [ if (userInfo.value != null && userInfo.value?.activatedAt == null) AccountUnactivatedCard(), - CheckInWidget(margin: EdgeInsets.zero, checkInOnly: true), + CheckInWidget(margin: EdgeInsets.zero), FortuneCard(), ConstrainedBox( constraints: const BoxConstraints(maxHeight: 400),