Always display the date in story viewer.

fork-5.53.8
Alex Hart 2022-09-29 10:20:47 -03:00 zatwierdzone przez Greyson Parrelli
rodzic 86a345a4f3
commit 1af576c157
1 zmienionych plików z 1 dodań i 5 usunięć

Wyświetl plik

@ -889,11 +889,7 @@ class StoryViewerPageFragment :
}
private fun presentDate(date: TextView, storyPost: StoryPost) {
val messageRecord = storyPost.conversationMessage.messageRecord
date.text = when {
messageRecord.isOutgoing && !messageRecord.isSent -> getString(R.string.StoriesLandingItem__sending)
else -> DateUtils.getBriefRelativeTimeSpanString(context, Locale.getDefault(), storyPost.dateInMilliseconds)
}
date.text = DateUtils.getBriefRelativeTimeSpanString(context, Locale.getDefault(), storyPost.dateInMilliseconds)
}
private fun presentSenderAvatar(senderAvatar: AvatarImageView, post: StoryPost) {