From e68a9aac53016192559f21f4098bd66c15b49d37 Mon Sep 17 00:00:00 2001 From: k1ngsterr1 Date: Thu, 5 Mar 2026 13:54:11 +0500 Subject: [PATCH] =?UTF-8?q?=D0=A4=D0=B8=D0=BA=D1=81=20=D0=B8=D0=BC=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=20=D0=BF=D0=BE=D0=BB=D1=8C=D0=B7=D0=BE=D0=B2=D0=B0?= =?UTF-8?q?=D1=82=D0=B5=D0=BB=D1=8F=20=D0=B2=20=D0=BF=D1=83=D0=B7=D1=8B?= =?UTF-8?q?=D1=80=D1=8C=D0=BA=D0=B5=20reply?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../messenger/ui/chats/input/ChatDetailInput.kt | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/com/rosetta/messenger/ui/chats/input/ChatDetailInput.kt b/app/src/main/java/com/rosetta/messenger/ui/chats/input/ChatDetailInput.kt index 27b07c1..c22370f 100644 --- a/app/src/main/java/com/rosetta/messenger/ui/chats/input/ChatDetailInput.kt +++ b/app/src/main/java/com/rosetta/messenger/ui/chats/input/ChatDetailInput.kt @@ -381,11 +381,19 @@ fun MessageInputBar( ) Spacer(modifier = Modifier.width(10.dp)) Column(modifier = Modifier.weight(1f)) { + val replyTargetName = + panelReplyMessages.firstOrNull()?.let { reply -> + if (reply.isOutgoing) { + "You" + } else { + reply.senderName.ifBlank { chatTitle } + } + } ?: "You" Text( text = if (panelIsForwardMode) "Forward message${if (panelReplyMessages.size > 1) "s" else ""}" else - "Reply to ${if (panelReplyMessages.size == 1 && !panelReplyMessages.first().isOutgoing) chatTitle else "You"}", + "Reply to $replyTargetName", fontSize = 13.sp, fontWeight = FontWeight.SemiBold, color = PrimaryBlue,