1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-03-11 22:53:16 +00:00

Small improvement

This commit is contained in:
M66B 2024-01-24 11:25:13 +01:00
parent 371b858a13
commit 2462d4e8e2

View file

@ -893,6 +893,10 @@ public class ContactInfo {
}
private static int getSize(String sizes) {
int q = sizes.indexOf('?');
if (q >= 0)
sizes = sizes.substring(0, q);
int max = 0;
for (String size : sizes.split(" ")) {
int min = Integer.MAX_VALUE;