mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-27 02:07:12 +00:00
Increased favicon fetch size
This commit is contained in:
parent
ac77c2c248
commit
62a852e423
2 changed files with 2 additions and 2 deletions
|
@ -98,7 +98,7 @@ public class ContactInfo {
|
|||
private boolean known;
|
||||
private long time;
|
||||
|
||||
static final int FAVICON_READ_BYTES = 5000;
|
||||
static final int FAVICON_READ_BYTES = 50 * 1024;
|
||||
|
||||
private static Map<String, Lookup> emailLookup = new ConcurrentHashMap<>();
|
||||
private static final Map<String, ContactInfo> emailContactInfo = new HashMap<>();
|
||||
|
|
|
@ -1216,7 +1216,7 @@ public class FragmentOptionsDisplay extends FragmentBase implements SharedPrefer
|
|||
// Initialize
|
||||
FragmentDialogTheme.setBackground(getContext(), view, false);
|
||||
swFaviconsPartial.setText(getString(R.string.title_advanced_favicons_partial,
|
||||
Helper.humanReadableByteCount(ContactInfo.FAVICON_READ_BYTES)));
|
||||
Helper.humanReadableByteCount(ContactInfo.FAVICON_READ_BYTES, false)));
|
||||
grpUnzip.setVisibility(Build.VERSION.SDK_INT < Build.VERSION_CODES.O ? View.GONE : View.VISIBLE);
|
||||
tvBimiUnverified.setVisibility(BuildConfig.DEBUG ? View.VISIBLE : View.GONE);
|
||||
|
||||
|
|
Loading…
Reference in a new issue