Small fix

This commit is contained in:
M66B 2023-08-27 14:57:52 +02:00
parent 086bb5124b
commit 0f34bd4c49
2 changed files with 4 additions and 4 deletions

View File

@ -1287,7 +1287,7 @@ public class FragmentOptionsDisplay extends FragmentBase implements SharedPrefer
}); });
tvUnzipHint.setText(getString(R.string.compressed, tvUnzipHint.setText(getString(R.string.compressed,
TextUtils.join(",", MessageHelper.UNZIP_FORMATS), TextUtils.join(", ", MessageHelper.UNZIP_FORMATS),
Integer.toString(MessageHelper.MAX_UNZIP_COUNT), Integer.toString(MessageHelper.MAX_UNZIP_COUNT),
Helper.humanReadableByteCount(MessageHelper.MAX_UNZIP_SIZE))); Helper.humanReadableByteCount(MessageHelper.MAX_UNZIP_SIZE)));

View File

@ -183,9 +183,9 @@ public class MessageHelper {
static final int MAX_UNZIP_COUNT = 20; static final int MAX_UNZIP_COUNT = 20;
static final long MAX_UNZIP_SIZE = 1000 * 1000 * 1000L; static final long MAX_UNZIP_SIZE = 1000 * 1000 * 1000L;
static final List<String> UNZIP_FORMATS = BuildConfig.PLAY_STORE_RELEASE static final List<String> UNZIP_FORMATS = Collections.unmodifiableList(Arrays.asList(
? Collections.unmodifiableList(Arrays.asList("zip")) "zip", "gz", "tar.gz"
: Collections.unmodifiableList(Arrays.asList("zip, gz, tar.gz")); ));
static final List<String> RECEIVED_WORDS = Collections.unmodifiableList(Arrays.asList( static final List<String> RECEIVED_WORDS = Collections.unmodifiableList(Arrays.asList(
"from", "by", "via", "with", "id", "for" "from", "by", "via", "with", "id", "for"