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:
parent
8097b268a3
commit
d438562796
1 changed files with 3 additions and 1 deletions
|
@ -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())
|
||||
|
|
Loading…
Reference in a new issue