Enabled gzip for Play Store version (2)

pull/213/head
M66B 1 year ago
parent 0f34bd4c49
commit 6a9a71f0d0

@ -120,13 +120,13 @@ public class EntityAttachment {
boolean isCompressed() { boolean isCompressed() {
if ("application/zip".equals(type)) if ("application/zip".equals(type))
return true; return true;
if ("application/gzip".equals(type) && !BuildConfig.PLAY_STORE_RELEASE) if ("application/gzip".equals(type))
return true; return true;
String extension = Helper.getExtension(name); String extension = Helper.getExtension(name);
if ("zip".equals(extension)) if ("zip".equals(extension))
return true; return true;
if ("gz".equals(extension) && !BuildConfig.PLAY_STORE_RELEASE) if ("gz".equals(extension))
return true; return true;
return false; return false;

Loading…
Cancel
Save