1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-03-03 18:26:20 +00:00

Disable SVG for gallery for Play Store version

This commit is contained in:
M66B 2025-01-03 20:23:46 +01:00
parent 8097b268a3
commit d438562796

View file

@ -3827,7 +3827,9 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
if ((pdf_preview && attachment.isPDF()) ||
(video_preview && attachment.isVideo()) ||
(audio_preview && attachment.isAudio()) ||
(attachment.isAttachment() && attachment.isImage())) {
(attachment.isAttachment() && attachment.isImage() &&
(!Helper.isPlayStoreInstall() ||
!"image/svg+xml".equalsIgnoreCase(attachment.getMimeType())))) {
media.add(attachment);
if (attachment.available &&
attachment.isAttachment() && attachment.isImage())