Browse Source

Cache images for 3 days

main
M66B 6 years ago
parent
commit
ee276d054e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/src/main/java/eu/faircode/email/FragmentMessage.java

+ 1
- 1
app/src/main/java/eu/faircode/email/FragmentMessage.java View File

@ -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…
Cancel
Save