diff --git a/src/gui/Pages/Chat/Timeline/EventContent.qml b/src/gui/Pages/Chat/Timeline/EventContent.qml index 2ab837f4..8512dfb4 100644 --- a/src/gui/Pages/Chat/Timeline/EventContent.qml +++ b/src/gui/Pages/Chat/Timeline/EventContent.qml @@ -37,16 +37,16 @@ HRowLayout { readonly property string timeText: utils.formatTime(model.date, false) readonly property string stateText: - ` ⧗` : // U+29D7 + `color="${theme.chat.message.localEcho}"> ⧗` : // U+29D7 model.read_by_count ? - `${theme.chat.message.readCounter}> ⦿ ` + + `color="${theme.chat.message.readCounter}"> ⦿ ` + model.read_by_count : // U+29BF - "" - ) + "" + ">" + ) + "" readonly property bool pureMedia: ! contentText && linksRepeater.count @@ -318,7 +318,10 @@ HRowLayout { mediaUrl: modelData showSender: pureMedia ? senderText : "" showDate: pureMedia ? timeText : "" - showLocalEcho: pureMedia ? stateText : "" + showLocalEcho: pureMedia && ( + singleMediaInfo.is_local_echo || + singleMediaInfo.read_by_count + ) ? stateText : "" transform: Translate { x: xOffset } diff --git a/src/gui/Pages/Chat/Timeline/EventImage.qml b/src/gui/Pages/Chat/Timeline/EventImage.qml index cbaf9b39..883dd464 100644 --- a/src/gui/Pages/Chat/Timeline/EventImage.qml +++ b/src/gui/Pages/Chat/Timeline/EventImage.qml @@ -133,7 +133,8 @@ HMxcImage { EventImageTextBubble { anchors.right: parent.right anchors.bottom: parent.bottom - text: [loader.showDate, loader.showLocalEcho].join(" ").trim() + text: loader.showDate + loader.showLocalEcho + textFormat: Text.StyledText opacity: hover.hovered ? 0 : 1 visible: opacity > 0