mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 06:38:29 +02:00
Enabled gzip for Play Store version (2)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user