mirror of
https://github.com/NekoX-Dev/NekoX.git
synced 2024-12-13 01:59:27 +01:00
Fix emoji display in signed channel message
This commit is contained in:
parent
fa796e34d6
commit
854b68a3c1
@ -6752,7 +6752,8 @@ public class ChatMessageCell extends BaseCell implements SeekBar.SeekBarDelegate
|
||||
if (timeTextWidth < 0) {
|
||||
timeTextWidth = AndroidUtilities.dp(10);
|
||||
}
|
||||
timeLayout = new StaticLayout(currentTimeString, Theme.chat_timePaint, timeTextWidth + AndroidUtilities.dp(100), Layout.Alignment.ALIGN_NORMAL, 1.0f, 0.0f, false);
|
||||
CharSequence currentTime = Emoji.replaceEmoji(currentTimeString, Theme.chat_timePaint.getFontMetricsInt(), AndroidUtilities.dp(12), false);
|
||||
timeLayout = new StaticLayout(currentTime, Theme.chat_timePaint, timeTextWidth + AndroidUtilities.dp(100), Layout.Alignment.ALIGN_NORMAL, 1.0f, 0.0f, false);
|
||||
if (mediaBackground) {
|
||||
if (currentMessageObject.isOutOwner()) {
|
||||
timeX = layoutWidth - timeWidth - AndroidUtilities.dp(42.0f);
|
||||
|
Loading…
Reference in New Issue
Block a user