From b1ed74dfe6dbfc82a7f08ba3f1d174d0bf18b8f0 Mon Sep 17 00:00:00 2001 From: Christophe Deschamps Date: Tue, 12 Dec 2023 18:13:05 +0100 Subject: [PATCH] Fix differentiated color for outgoing/incoming chat text color (cherry picked from commit d44f988d75a4dc23c6ee71edbe853cee88f94134) --- linphone-app/ui/modules/Linphone/Chat/ChatContent.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linphone-app/ui/modules/Linphone/Chat/ChatContent.qml b/linphone-app/ui/modules/Linphone/Chat/ChatContent.qml index e5eec45e0..f16f8bc93 100644 --- a/linphone-app/ui/modules/Linphone/Chat/ChatContent.qml +++ b/linphone-app/ui/modules/Linphone/Chat/ChatContent.qml @@ -210,7 +210,7 @@ Loader{// Use of Loader because of Repeater (items cannot be loaded dynamically) onLastTextSelectedChanged: mainItem.lastTextSelectedChanged(lastTextSelected) color: mainItem.useTextColor ? mainItem.textColor - : $modelData.isOutgoing + : chatMessageModel.isOutgoing ? ChatStyle.entry.message.outgoing.text.colorModel.color : ChatStyle.entry.message.incoming.text.colorModel.color onRightClicked: mainItem.rightClicked()