mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-22 11:38:57 +00:00
parent
06f7f1668d
commit
7b45ce60a7
@ -738,7 +738,7 @@ Rectangle {
|
|||||||
x: parent.width - width - Style.current.halfPadding
|
x: parent.width - width - Style.current.halfPadding
|
||||||
y: -height
|
y: -height
|
||||||
gifSelected: function (event, url) {
|
gifSelected: function (event, url) {
|
||||||
messageInputField.text = url
|
messageInputField.text += "\n" + url
|
||||||
control.sendMessage(event)
|
control.sendMessage(event)
|
||||||
gifBtn.highlighted = false
|
gifBtn.highlighted = false
|
||||||
messageInputField.forceActiveFocus()
|
messageInputField.forceActiveFocus()
|
||||||
|
@ -501,14 +501,7 @@ Item {
|
|||||||
ChatTextView {
|
ChatTextView {
|
||||||
id: chatText
|
id: chatText
|
||||||
readonly property int leftPadding: chatImage.anchors.leftMargin + chatImage.width + chatHorizontalPadding
|
readonly property int leftPadding: chatImage.anchors.leftMargin + chatImage.width + chatHorizontalPadding
|
||||||
visible: {
|
visible: isText || isEmoji || isImage
|
||||||
const urls = linkUrls.split(" ")
|
|
||||||
if (urls.length === 1 && Utils.hasImageExtension(urls[0]) && localAccountSensitiveSettings.displayChatImages) {
|
|
||||||
return false
|
|
||||||
}
|
|
||||||
|
|
||||||
return isText || isEmoji
|
|
||||||
}
|
|
||||||
|
|
||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
anchors.topMargin: isEmoji ? 2 : 0
|
anchors.topMargin: isEmoji ? 2 : 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user