🐛 Fix attachment fullscreen in dark mode

This commit is contained in:
LittleSheep 2024-07-27 19:52:22 +08:00
parent 7800a70ef2
commit 7bfbd37b76

View File

@ -93,11 +93,14 @@ class _AttachmentListFullScreenState extends State<AttachmentListFullScreen> {
child: IgnorePointer( child: IgnorePointer(
child: Container( child: Container(
height: 300, height: 300,
decoration: const BoxDecoration( decoration: BoxDecoration(
gradient: LinearGradient( gradient: LinearGradient(
begin: Alignment.bottomCenter, begin: Alignment.bottomCenter,
end: Alignment.topCenter, end: Alignment.topCenter,
colors: [Color(0xFFFFFFFF), Color(0x00FFFFFF)], colors: [
Theme.of(context).colorScheme.surface,
Theme.of(context).colorScheme.surface.withOpacity(0),
],
), ),
), ),
), ),