🐛 Bug fixes

This commit is contained in:
LittleSheep 2024-10-20 16:15:24 +08:00
parent 0d807b8708
commit 107379d9fe
3 changed files with 12 additions and 8 deletions

View File

@ -121,9 +121,11 @@ class _NotificationScreenState extends State<NotificationScreen> {
Badge(
label: Row(
children: [
const Icon(
Icon(
Icons.new_releases_outlined,
color: Colors.white,
color: Theme.of(context)
.colorScheme
.onSurface,
size: 12,
),
const Gap(4),

View File

@ -420,11 +420,13 @@ class AttachmentListEntry extends StatelessWidget {
},
),
if (item!.isMature && !showMature)
BackdropFilter(
filter: ImageFilter.blur(sigmaX: 100, sigmaY: 100),
child: Container(
decoration: BoxDecoration(
color: Colors.black.withOpacity(0.5),
ClipRect(
child: BackdropFilter(
filter: ImageFilter.blur(sigmaX: 100, sigmaY: 100),
child: Container(
decoration: BoxDecoration(
color: Colors.black.withOpacity(0.5),
),
),
),
),

View File

@ -137,7 +137,7 @@ class _PostItemState extends State<PostItem> {
padding: widget.padding,
isCompact: true,
isNonScrollAttachment: widget.isNonScrollAttachment,
).paddingOnly(left: 14, top: 4),
).paddingOnly(top: 4),
],
);
}