Skip to content

Commit

Permalink
fix: can't share chats as pic (#205)
Browse files Browse the repository at this point in the history
Fixes #204
  • Loading branch information
lollipopkit authored Jan 9, 2025
1 parent cfa69a0 commit 58a3b8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/view/page/home/ctrl.dart
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ void _onShareChat(BuildContext context) async {
);
compressImg = Stores.setting.compressImg.get();
if (compressImg) {
return await ImageUtil.compress(raw);
return await ImageUtil.compress(raw, mime: 'image/png');
}
return raw;
});
Expand Down

0 comments on commit 58a3b8a

Please sign in to comment.