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

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),
], ],
); );
} }