mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-23 12:38:33 +00:00
Add requestLayout when textfields are updated.
These fields appear to not resize themselves correctly and there appears to be a possible race where they can end up wrongly ellipsizing themselves.
This commit is contained in:
@@ -894,10 +894,12 @@ class StoryViewerPageFragment :
|
||||
}
|
||||
|
||||
from.setOnClickListener { onSenderClicked(storyPost.sender.id) }
|
||||
from.requestLayout()
|
||||
}
|
||||
|
||||
private fun presentDate(date: TextView, storyPost: StoryPost) {
|
||||
date.text = DateUtils.getBriefRelativeTimeSpanString(context, Locale.getDefault(), storyPost.dateInMilliseconds)
|
||||
date.requestLayout()
|
||||
}
|
||||
|
||||
private fun presentSenderAvatar(senderAvatar: AvatarImageView, post: StoryPost) {
|
||||
|
||||
Reference in New Issue
Block a user