mirror of
https://github.com/immich-app/immich.git
synced 2026-05-18 03:10:24 +03:00
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
This commit is contained in:
@@ -10,20 +10,19 @@ class TrashBottomBar extends ConsumerWidget {
|
|||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context, WidgetRef ref) {
|
Widget build(BuildContext context, WidgetRef ref) {
|
||||||
return SafeArea(
|
return Align(
|
||||||
child: Align(
|
alignment: Alignment.bottomCenter,
|
||||||
alignment: Alignment.bottomCenter,
|
child: Container(
|
||||||
child: SizedBox(
|
color: context.themeData.canvasColor,
|
||||||
height: 64,
|
padding: const EdgeInsets.symmetric(vertical: 8),
|
||||||
child: Container(
|
child: const SafeArea(
|
||||||
color: context.themeData.canvasColor,
|
top: false,
|
||||||
child: const Row(
|
child: Row(
|
||||||
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
|
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
|
||||||
children: [
|
children: [
|
||||||
DeleteTrashActionButton(source: ActionSource.timeline),
|
DeleteTrashActionButton(source: ActionSource.timeline),
|
||||||
RestoreTrashActionButton(source: ActionSource.timeline),
|
RestoreTrashActionButton(source: ActionSource.timeline),
|
||||||
],
|
],
|
||||||
),
|
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user