From 5bd3ead22d7f65f7e65c1c9401881ba8a58a93ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Blin?= <sebastien.blin@savoirfairelinux.com> Date: Wed, 8 May 2024 11:25:19 -0400 Subject: [PATCH] chatview: do not show "Edited" on deleted message Change-Id: I38b4f45cb3220bc52ab227976acd65a6c2d1ef93 --- src/app/commoncomponents/SBSMessageBase.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/commoncomponents/SBSMessageBase.qml b/src/app/commoncomponents/SBSMessageBase.qml index 57baad6b5..bbca1c891 100644 --- a/src/app/commoncomponents/SBSMessageBase.qml +++ b/src/app/commoncomponents/SBSMessageBase.qml @@ -424,9 +424,9 @@ Control { id: editedRow anchors.left: root.bigMsg ? bubble.left : timestampItem.left anchors.bottom: parent.bottom - anchors.bottomMargin: root.bigMsg || bubble.isDeleted ? 6 : 10 + anchors.bottomMargin: root.bigMsg ? 6 : 10 anchors.leftMargin: root.bigMsg ? 10 : -timestampItem.width - 16 - visible: bubble.isEdited + visible: bubble.isEdited && !bubble.isDeleted z: 1 ResponsiveImage { id: editedImage -- GitLab