🐛 Bug fixes with background image

This commit is contained in:
2024-10-06 19:41:44 +08:00
parent f5fbe1f483
commit 66f2f33394
3 changed files with 138 additions and 132 deletions

View File

@ -319,6 +319,7 @@ class AttachmentListEntry extends StatelessWidget {
width: width ?? MediaQuery.of(context).size.width,
height: height,
decoration: BoxDecoration(
color: Colors.transparent,
border: showBorder
? Border.symmetric(
vertical: BorderSide(

View File

@ -27,7 +27,7 @@ class RootContainer extends StatelessWidget {
backgroundBlendMode: BlendMode.darken,
color: Theme.of(context).colorScheme.surface,
image: DecorationImage(
opacity: 0.5,
opacity: 0.2,
image: FileImage(file),
fit: BoxFit.cover,
),