Small behavior improvement

This commit is contained in:
M66B 2019-09-01 19:08:47 +02:00
parent 8f3c0edf02
commit 5fdc82c00c
1 changed files with 3 additions and 3 deletions

View File

@ -1677,15 +1677,15 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
if (message.ui_snoozed != null) {
DateFormat DTF = Helper.getDateTimeInstance(context, SimpleDateFormat.MEDIUM, SimpleDateFormat.SHORT);
DateFormat D = new SimpleDateFormat("E");
Snackbar.make(
parentFragment.getView(),
ToastEx.makeText(
context,
D.format(message.ui_snoozed) + " " + DTF.format(message.ui_snoozed) + " - " +
DateUtils.getRelativeTimeSpanString(
message.ui_snoozed,
System.currentTimeMillis(),
DateUtils.MINUTE_IN_MILLIS,
DateUtils.FORMAT_ABBREV_RELATIVE),
Snackbar.LENGTH_LONG).show();
Toast.LENGTH_LONG).show();
}
}