mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-27 20:15:21 +00:00
parent
4caff2e511
commit
7ceaf59bcc
@ -278,9 +278,7 @@ public class ConversationItem extends LinearLayout {
|
|||||||
} else if (messageRecord.isPending()) {
|
} else if (messageRecord.isPending()) {
|
||||||
dateText.setText(" ··· ");
|
dateText.setText(" ··· ");
|
||||||
} else {
|
} else {
|
||||||
final long timestamp = (messageRecord.isOutgoing() ?
|
final long timestamp = messageRecord.getDateSent();
|
||||||
messageRecord.getDateSent() :
|
|
||||||
messageRecord.getDateReceived());
|
|
||||||
|
|
||||||
dateText.setText(DateUtils.getBetterRelativeTimeSpanString(getContext(), timestamp));
|
dateText.setText(DateUtils.getBetterRelativeTimeSpanString(getContext(), timestamp));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user