Skip to content

High performance self-hosted photo and video management solution.

fix(mobile): transparent system navbar when trash bottom bar is visible (#27093)

Putu Prema2143a0c9357b
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),
+ ],
),
),
),