Limit SVG file size to 512 KiB

This commit is contained in:
M66B
2025-01-07 09:38:49 +01:00
parent 821759ca9b
commit b4bcc2cff4
3 changed files with 10 additions and 4 deletions

View File

@@ -3750,7 +3750,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
boolean hide_attachments = properties.getValue("hide_attachments", message.id, hide_attachments_default);
boolean show_inline = properties.getValue("inline", message.id);
boolean svg = prefs.getBoolean("svg", !Helper.isPlayStoreInstall());
boolean svg = prefs.getBoolean("svg", true);
boolean webp = prefs.getBoolean("webp", true);
Log.i("Hide attachments=" + hide_attachments + " Show inline=" + show_inline);