add background color for night mode

pull/24428/head
kao-byte 2025-12-07 19:36:58 +07:00
parent 7096912743
commit 7dc79d4c2c
No known key found for this signature in database
GPG Key ID: 6BFA3A267DAB6B25
3 changed files with 4 additions and 4 deletions

@ -79,7 +79,7 @@ class ActivitiesBottomSheet extends HookConsumerWidget {
expand: false,
shouldCloseOnMinExtent: false,
resizeOnScroll: false,
backgroundColor: context.isDarkTheme ? Colors.black : Colors.white,
backgroundColor: context.isDarkTheme ? context.colorScheme.surfaceContainer : Colors.white,
);
}
}

@ -696,7 +696,7 @@ class _AssetViewerState extends ConsumerState<AssetViewer> {
enablePanAlways: true,
),
if (!showingBottomSheet)
Positioned(
const Positioned(
bottom: 0,
left: 0,
right: 0,
@ -704,7 +704,7 @@ class _AssetViewerState extends ConsumerState<AssetViewer> {
mainAxisSize: MainAxisSize.min,
mainAxisAlignment: MainAxisAlignment.end,
crossAxisAlignment: CrossAxisAlignment.stretch,
children: [const AssetStackRow(), const ViewerBottomBar()],
children: [AssetStackRow(), ViewerBottomBar()],
),
),
],

@ -79,7 +79,7 @@ class AssetDetailBottomSheet extends ConsumerWidget {
expand: false,
shouldCloseOnMinExtent: false,
resizeOnScroll: false,
backgroundColor: context.isDarkTheme ? Colors.black : Colors.white,
backgroundColor: context.isDarkTheme ? context.colorScheme.surfaceContainer : Colors.white,
);
}
}