mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-31 19:41:19 +00:00
Show date header if older than yesterday
This commit is contained in:
parent
9d3ee14fc7
commit
34f499d86f
1 changed files with 1 additions and 1 deletions
|
@ -562,7 +562,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
|||
cal.set(Calendar.MINUTE, 0);
|
||||
cal.set(Calendar.SECOND, 0);
|
||||
cal.set(Calendar.MILLISECOND, 0);
|
||||
cal.add(Calendar.DAY_OF_MONTH, -2);
|
||||
cal.add(Calendar.DAY_OF_MONTH, -1);
|
||||
if (message.received <= cal.getTimeInMillis())
|
||||
tvDate.setText(
|
||||
DateUtils.formatDateRange(
|
||||
|
|
Loading…
Reference in a new issue