From 38353af4139cad48d37e71dfd4db0f9b73718e50 Mon Sep 17 00:00:00 2001 From: Igor Sirotin Date: Mon, 26 Dec 2022 19:33:27 +0300 Subject: [PATCH] fix(PinnedMessagesPopup): Force show repeat header --- ui/StatusQ/src/StatusQ/Components/StatusMessage.qml | 13 +++++++------ .../AppLayouts/Chat/popups/PinnedMessagesPopup.qml | 1 + 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/ui/StatusQ/src/StatusQ/Components/StatusMessage.qml b/ui/StatusQ/src/StatusQ/Components/StatusMessage.qml index 77029472fb..2c180ac72d 100644 --- a/ui/StatusQ/src/StatusQ/Components/StatusMessage.qml +++ b/ui/StatusQ/src/StatusQ/Components/StatusMessage.qml @@ -140,12 +140,6 @@ Control { return Theme.palette.pinColor3; return "transparent"; } - } - - contentItem: Item { - - implicitWidth: messageLayout.implicitWidth - implicitHeight: messageLayout.implicitHeight Rectangle { anchors { @@ -168,6 +162,13 @@ Control { visible: root.hasMention color: Theme.palette.mentionColor1 } + } + + contentItem: Item { + + implicitWidth: messageLayout.implicitWidth + implicitHeight: messageLayout.implicitHeight + SequentialAnimation { id: messageFoundAnimation diff --git a/ui/app/AppLayouts/Chat/popups/PinnedMessagesPopup.qml b/ui/app/AppLayouts/Chat/popups/PinnedMessagesPopup.qml index 935a993f1d..de2253a35c 100644 --- a/ui/app/AppLayouts/Chat/popups/PinnedMessagesPopup.qml +++ b/ui/app/AppLayouts/Chat/popups/PinnedMessagesPopup.qml @@ -95,6 +95,7 @@ StatusDialog { // Additional params isInPinnedPopup: true disableHover: !!root.messageToPin + shouldRepeatHeader: true } MouseArea {