From 137dc4d0b3fa513847f085eb7612a9cdea72e8b0 Mon Sep 17 00:00:00 2001 From: AlphaX-Qortal Date: Mon, 10 Feb 2025 16:37:01 +0100 Subject: [PATCH] Fix key icon --- .../plugins/core/components/ChatScroller.js | 56 ++++++++++--------- 1 file changed, 30 insertions(+), 26 deletions(-) diff --git a/plugins/plugins/core/components/ChatScroller.js b/plugins/plugins/core/components/ChatScroller.js index 42b803e8..4d10a4a7 100644 --- a/plugins/plugins/core/components/ChatScroller.js +++ b/plugins/plugins/core/components/ChatScroller.js @@ -1250,17 +1250,9 @@ class MessageTemplate extends LitElement { ` - fromHubOk = html` -
- key   -
- ` + fromHubOk = html`   key   ` - fromHubNo = html` -
- key_off   -
- ` + fromHubNo = html`   key_off   ` if (repliedToData) { try { @@ -1678,26 +1670,38 @@ class MessageTemplate extends LitElement { ${this.isInProgress ? html`

${translate('chatpage.cchange91')}

` : this.isAgo ? html` - ${isFromHub ? html`${fromHubOk}` : html`${fromHubNo}`} -
- - - +
+
+ ${isFromHub ? html`${fromHubOk}` : html`${fromHubNo}`} +
+
+ + + +
` : this.isIso ? html` - ${isFromHub ? html`${fromHubOk}` : html`${fromHubNo}`} -
- - ${new Date(this.messageObj.timestamp).toLocaleString()} - +
+
+ ${isFromHub ? html`${fromHubOk}` : html`${fromHubNo}`} +
+
+ + ${new Date(this.messageObj.timestamp).toLocaleString()} + +
` : this.isBoth ? html` - ${isFromHub ? html`${fromHubOk}` : html`${fromHubNo}`} -
- - ${new Date(this.messageObj.timestamp).toLocaleString()} - ( ) - +
+
+ ${isFromHub ? html`${fromHubOk}` : html`${fromHubNo}`} +
+
+ + ${new Date(this.messageObj.timestamp).toLocaleString()} + ( ) + +
` : '' }