🐛 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( Badge(
label: Row( label: Row(
children: [ children: [
const Icon( Icon(
Icons.new_releases_outlined, Icons.new_releases_outlined,
color: Colors.white, color: Theme.of(context)
.colorScheme
.onSurface,
size: 12, size: 12,
), ),
const Gap(4), const Gap(4),

View File

@ -420,7 +420,8 @@ class AttachmentListEntry extends StatelessWidget {
}, },
), ),
if (item!.isMature && !showMature) if (item!.isMature && !showMature)
BackdropFilter( ClipRect(
child: BackdropFilter(
filter: ImageFilter.blur(sigmaX: 100, sigmaY: 100), filter: ImageFilter.blur(sigmaX: 100, sigmaY: 100),
child: Container( child: Container(
decoration: BoxDecoration( decoration: BoxDecoration(
@ -428,6 +429,7 @@ class AttachmentListEntry extends StatelessWidget {
), ),
), ),
), ),
),
if (item!.isMature && !showMature) if (item!.isMature && !showMature)
CenteredContainer( CenteredContainer(
maxWidth: 280, maxWidth: 280,

View File

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