diff --git a/src/app/constant/JamiStrings.qml b/src/app/constant/JamiStrings.qml index f0dfc8bc..98f339d5 100644 --- a/src/app/constant/JamiStrings.qml +++ b/src/app/constant/JamiStrings.qml @@ -731,6 +731,7 @@ Item { property string showLess: qsTr("Show less") property string showPreview: qsTr("Show preview") + property string continueEditing: qsTr("Continue editing") property string bold: qsTr("Bold") property string italic: qsTr("Italic") property string strikethrough: qsTr("Strikethrough") diff --git a/src/app/mainview/components/MessageBar.qml b/src/app/mainview/components/MessageBar.qml index 7d90ef44..6e4cb180 100644 --- a/src/app/mainview/components/MessageBar.qml +++ b/src/app/mainview/components/MessageBar.qml @@ -1164,7 +1164,7 @@ RowLayout { imageColor: (hovered || showPreview) ? JamiTheme.chatViewFooterImgHoverColor : JamiTheme.chatViewFooterImgColor hoveredColor: JamiTheme.hoveredButtonColor pressedColor: hoveredColor - toolTipText: JamiStrings.showPreview + toolTipText: showPreview ? JamiStrings.continueEditing : JamiStrings.showPreview onClicked: { showPreview = !showPreview;