mirror of
https://github.com/M66B/FairEmail.git
synced 2025-03-11 22:53:16 +00:00
Small improvement
This commit is contained in:
parent
371b858a13
commit
2462d4e8e2
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue