From 2143a0c9357bf9c0da04a6937887bad89ced9fe8 Mon Sep 17 00:00:00 2001 From: Putu Prema Date: Mon, 6 Apr 2026 22:28:07 +0800 Subject: [PATCH] fix(mobile): transparent system navbar when trash bottom bar is visible (#27093) * disable bottom safe area on trash bottom bar so that it extends below the system nav bar * remove manual padding calculations * re-add static vertical padding to maintain previous bottom bar height --- .../trash_bottom_sheet.widget.dart | 27 +++++++++---------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/mobile/lib/presentation/widgets/bottom_sheet/trash_bottom_sheet.widget.dart b/mobile/lib/presentation/widgets/bottom_sheet/trash_bottom_sheet.widget.dart index 9f8216c4ed..c96e680966 100644 --- a/mobile/lib/presentation/widgets/bottom_sheet/trash_bottom_sheet.widget.dart +++ b/mobile/lib/presentation/widgets/bottom_sheet/trash_bottom_sheet.widget.dart @@ -10,20 +10,19 @@ class TrashBottomBar extends ConsumerWidget { @override Widget build(BuildContext context, WidgetRef ref) { - return SafeArea( - child: Align( - alignment: Alignment.bottomCenter, - child: SizedBox( - height: 64, - child: Container( - color: context.themeData.canvasColor, - child: const Row( - mainAxisAlignment: MainAxisAlignment.spaceEvenly, - children: [ - DeleteTrashActionButton(source: ActionSource.timeline), - RestoreTrashActionButton(source: ActionSource.timeline), - ], - ), + return Align( + alignment: Alignment.bottomCenter, + child: Container( + color: context.themeData.canvasColor, + padding: const EdgeInsets.symmetric(vertical: 8), + child: const SafeArea( + top: false, + child: Row( + mainAxisAlignment: MainAxisAlignment.spaceEvenly, + children: [ + DeleteTrashActionButton(source: ActionSource.timeline), + RestoreTrashActionButton(source: ActionSource.timeline), + ], ), ), ),