aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/main/java/de/pixart/messenger/Config.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/main/java/de/pixart/messenger/Config.java b/src/main/java/de/pixart/messenger/Config.java
index 66dd2bfc9..a115c4162 100644
--- a/src/main/java/de/pixart/messenger/Config.java
+++ b/src/main/java/de/pixart/messenger/Config.java
@@ -78,13 +78,15 @@ public final class Config {
public static final Bitmap.CompressFormat AVATAR_FORMAT = Bitmap.CompressFormat.JPEG;
public static final int IMAGE_SIZE = 1920;
- public static final int VIDEO_SIZE = 640;
public static final Bitmap.CompressFormat IMAGE_FORMAT = Bitmap.CompressFormat.JPEG;
public static final int IMAGE_QUALITY = 75;
+ public static final int IMAGE_MAX_SIZE = 524288; //512 KiB
+
+ public static final int VIDEO_SIZE = 640;
public static final int VIDEO_BITRATE = 500000;
- public static final int IMAGE_MAX_SIZE = 524288; //512 KiB
public static final int VIDEO_MAX_SIZE = 5242880; //5 MiB
- public static final int FILE_MAX_SIZE = 1048576; //1 MiB
+
+ public static final int FILE_MAX_SIZE = 1048576; //1 MiB
public static final int DEFAULT_ZOOM = 15; //for locations