mirror of https://github.com/M66B/FairEmail.git
Cache images for 3 days
This commit is contained in:
parent
b9ceb5bfa5
commit
ee276d054e
|
@ -133,7 +133,7 @@ public class FragmentMessage extends FragmentEx {
|
||||||
private boolean debug;
|
private boolean debug;
|
||||||
private DateFormat df = SimpleDateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT);
|
private DateFormat df = SimpleDateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT);
|
||||||
|
|
||||||
private static final long CACHE_IMAGE_DURATION = 24 * 3600 * 1000L;
|
private static final long CACHE_IMAGE_DURATION = 3 * 24 * 3600 * 1000L;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onCreate(Bundle savedInstanceState) {
|
public void onCreate(Bundle savedInstanceState) {
|
||||||
|
|
Loading…
Reference in New Issue