From ed26e87c96f0d4ae8c5cf8ff3279176acfbc263a Mon Sep 17 00:00:00 2001 From: Yaroslav Sidlovsky Date: Thu, 31 Dec 2020 16:34:04 +0300 Subject: [PATCH] Display table borders --- .../Component/Timeline/TextDelegate.qml | 22 ++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/imports/NeoChat/Component/Timeline/TextDelegate.qml b/imports/NeoChat/Component/Timeline/TextDelegate.qml index 5a2791ff9..8bf1cec44 100644 --- a/imports/NeoChat/Component/Timeline/TextDelegate.qml +++ b/imports/NeoChat/Component/Timeline/TextDelegate.qml @@ -15,7 +15,27 @@ TextEdit { property bool isEmote: false - text: "" + (isEmote ? "* " + author.displayName + " " : "") + display + (isEdited ? (" " + i18n("(edited)") + "") : "") + text: "" + (isEmote ? "* " + author.displayName + " " : "") + display + (isEdited ? (" " + i18n("(edited)") + "") : "") color: Kirigami.Theme.textColor font.pointSize: isEmoji.test(display) ? Kirigami.Theme.defaultFont.pointSize * 4 : Kirigami.Theme.defaultFont.pointSize