Fixed time display / fixed header

pull/212/head
M66B 2 years ago
parent 3de2d1ac32
commit bab4e5cdb8

@ -1420,7 +1420,8 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
time = new SpannableStringBuilderEx(Helper.getRelativeDateSpanString(context, message.received));
else
time = new SpannableStringBuilderEx(
(date || date_fixed) && FragmentMessages.SORT_DATE_HEADER.contains(sort)
(date && !date_fixed && FragmentMessages.SORT_DATE_HEADER.contains(sort)) ||
(date_fixed && "time".equals(sort))
? TF.format(message.received)
: Helper.getRelativeTimeSpanString(context, message.received));
if (show_recent && message.recent)

Loading…
Cancel
Save