From 6a9a71f0d0bc8292624922f4755cade322e65098 Mon Sep 17 00:00:00 2001 From: M66B Date: Sun, 27 Aug 2023 14:59:02 +0200 Subject: [PATCH] Enabled gzip for Play Store version (2) --- app/src/main/java/eu/faircode/email/EntityAttachment.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/EntityAttachment.java b/app/src/main/java/eu/faircode/email/EntityAttachment.java index 70c7a8d52c..9d9e0d4458 100644 --- a/app/src/main/java/eu/faircode/email/EntityAttachment.java +++ b/app/src/main/java/eu/faircode/email/EntityAttachment.java @@ -120,13 +120,13 @@ public class EntityAttachment { boolean isCompressed() { if ("application/zip".equals(type)) return true; - if ("application/gzip".equals(type) && !BuildConfig.PLAY_STORE_RELEASE) + if ("application/gzip".equals(type)) return true; String extension = Helper.getExtension(name); if ("zip".equals(extension)) return true; - if ("gz".equals(extension) && !BuildConfig.PLAY_STORE_RELEASE) + if ("gz".equals(extension)) return true; return false;