Skip to content

Commit 0b15fe7

Browse files
committed
tweak FT max sizes
1 parent 2d6e32b commit 0b15fe7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

android-refimpl-app/app/src/main/java/com/zoffcc/applications/trifa/TRIFAGlobals.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,10 @@ public class TRIFAGlobals
133133
final static long AVATAR_INCOMING_MAX_BYTE_SIZE = 1 * 1024 * 1024; // limit incoming avatars at 1MByte size
134134
final static long AVATAR_SELF_MAX_BYTE_SIZE = 1 * 1024 * 1024; // limit incoming avatars at 1MByte size
135135

136-
final static int FT_OUTGOING_FILESIZE_BYTE_USE_STORAGE_FRAMEWORK =
137-
800 * 1024 * 1024; // above this size we need Storage Framework for outgoing FTs
138-
final static int FT_OUTGOING_FILESIZE_NGC_MAX_TOTAL = 20 * 1024 * 1024; // 20MByte max outgoing NGC filesize
139-
final static int FT_OUTGOING_FILESIZE_FRIEND_MAX_TOTAL = 2 * 1000 * 1000 * 1000; // 2Gbyte max outoing filesize
136+
final static long FT_OUTGOING_FILESIZE_BYTE_USE_STORAGE_FRAMEWORK =
137+
2 * 1024 * MiByte_BYTES; // above this size we need Storage Framework for outgoing FTs
138+
final static long FT_OUTGOING_FILESIZE_NGC_MAX_TOTAL = 20 * 1024 * 1024; // 20MByte max outgoing NGC filesize
139+
final static long FT_OUTGOING_FILESIZE_FRIEND_MAX_TOTAL = 10 * 1024 * MiByte_BYTES; // 20Gbyte max outoing filesize
140140

141141
static boolean orbot_is_really_running = false;
142142

0 commit comments

Comments
 (0)