ensure bottom bar is below the metadata panel - move the bottom bar from bottomNavigationBar into the Stack

pull/24428/head
kao-byte 2025-12-07 18:06:42 +11:00
parent 8cbc82182e
commit dac03afe47
No known key found for this signature in database
GPG Key ID: 6BFA3A267DAB6B25
1 changed files with 12 additions and 8 deletions

View File

@ -695,15 +695,19 @@ class _AssetViewerState extends ConsumerState<AssetViewer> {
backgroundDecoration: BoxDecoration(color: backgroundColor),
enablePanAlways: true,
),
],
),
bottomNavigationBar: showingBottomSheet
? const SizedBox.shrink()
: const Column(
if (!showingBottomSheet)
Positioned(
bottom: 0,
left: 0,
right: 0,
child: Column(
mainAxisSize: MainAxisSize.min,
mainAxisAlignment: MainAxisAlignment.end,
crossAxisAlignment: CrossAxisAlignment.stretch,
children: [AssetStackRow(), ViewerBottomBar()],
children: [const AssetStackRow(), const ViewerBottomBar()],
),
),
],
),
),
);