diff --git a/src/app/constant/JamiStrings.qml b/src/app/constant/JamiStrings.qml index 1fe84a66..22a7891a 100644 --- a/src/app/constant/JamiStrings.qml +++ b/src/app/constant/JamiStrings.qml @@ -723,6 +723,7 @@ Item { property string showMore: qsTr("Show more") property string showLess: qsTr("Show less") + property string showPreview: qsTr("Show preview") 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 1f272fc5..834f898e 100644 --- a/src/app/mainview/components/MessageBar.qml +++ b/src/app/mainview/components/MessageBar.qml @@ -1165,6 +1165,7 @@ RowLayout { imageColor: (hovered || showPreview) ? JamiTheme.chatViewFooterImgHoverColor : JamiTheme.chatViewFooterImgColor hoveredColor: JamiTheme.hoveredButtonColor pressedColor: hoveredColor + toolTipText: JamiStrings.showPreview onClicked: { showPreview = !showPreview;