Set default maximum attachment download size to 64 KB

This commit is contained in:
M66B
2019-04-07 07:58:34 +02:00
parent 7b5b300e98
commit d3761184fe
4 changed files with 4 additions and 3 deletions

View File

@@ -605,7 +605,7 @@ public class FragmentOptions extends FragmentBase implements SharedPreferences.O
swMetered.setChecked(prefs.getBoolean("metered", true));
int download = prefs.getInt("download", 32768);
int download = prefs.getInt("download", MessageHelper.DEFAULT_ATTACHMENT_DOWNLOAD_SIZE);
int[] downloadValues = getResources().getIntArray(R.array.downloadValues);
for (int pos = 0; pos < downloadValues.length; pos++)
if (downloadValues[pos] == download) {