Bug fixes

This commit is contained in:
2024-12-29 12:09:04 +08:00
parent f6cf6d0440
commit 95d926b29f
2 changed files with 6 additions and 5 deletions

View File

@ -324,7 +324,9 @@ class _AttachmentItemContentVideoState extends State<_AttachmentItemContentVideo
MaterialDesktopCustomButton(
iconSize: 24,
onPressed: _toggleOriginal,
icon: _showOriginal ? const Icon(Symbols.high_quality, size: 24) : const Icon(Symbols.sd, size: 24),
icon: Builder(builder: (context) {
return _showOriginal ? const Icon(Symbols.high_quality, size: 24) : const Icon(Symbols.sd, size: 24);
}),
),
],
),