mirror of https://github.com/M66B/FairEmail.git
Small behavior improvement
This commit is contained in:
parent
8f3c0edf02
commit
5fdc82c00c
|
@ -1677,15 +1677,15 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||||
if (message.ui_snoozed != null) {
|
if (message.ui_snoozed != null) {
|
||||||
DateFormat DTF = Helper.getDateTimeInstance(context, SimpleDateFormat.MEDIUM, SimpleDateFormat.SHORT);
|
DateFormat DTF = Helper.getDateTimeInstance(context, SimpleDateFormat.MEDIUM, SimpleDateFormat.SHORT);
|
||||||
DateFormat D = new SimpleDateFormat("E");
|
DateFormat D = new SimpleDateFormat("E");
|
||||||
Snackbar.make(
|
ToastEx.makeText(
|
||||||
parentFragment.getView(),
|
context,
|
||||||
D.format(message.ui_snoozed) + " " + DTF.format(message.ui_snoozed) + " - " +
|
D.format(message.ui_snoozed) + " " + DTF.format(message.ui_snoozed) + " - " +
|
||||||
DateUtils.getRelativeTimeSpanString(
|
DateUtils.getRelativeTimeSpanString(
|
||||||
message.ui_snoozed,
|
message.ui_snoozed,
|
||||||
System.currentTimeMillis(),
|
System.currentTimeMillis(),
|
||||||
DateUtils.MINUTE_IN_MILLIS,
|
DateUtils.MINUTE_IN_MILLIS,
|
||||||
DateUtils.FORMAT_ABBREV_RELATIVE),
|
DateUtils.FORMAT_ABBREV_RELATIVE),
|
||||||
Snackbar.LENGTH_LONG).show();
|
Toast.LENGTH_LONG).show();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue