🐛 Fix attachment download the compressed version

This commit is contained in:
2025-04-02 00:59:14 +08:00
parent e645db1630
commit 4c9f3e799b
2 changed files with 43 additions and 43 deletions

View File

@ -64,7 +64,7 @@ class _AttachmentZoomViewState extends State<AttachmentZoomView> {
Future<void> _saveToAlbum(int idx) async {
final sn = context.read<SnNetworkProvider>();
final item = widget.data.elementAt(idx);
final url = sn.getAttachmentUrl(item.rid);
final url = sn.getAttachmentUrl(item.rid, preview: false);
if (kIsWeb || Platform.isLinux) {
await launchUrlString(url);