fix(@chat): image don t overlap placeholder
* fix overlap * remove placeholder text
This commit is contained in:
parent
92b9ef891d
commit
6830a02248
|
@ -87,7 +87,7 @@ proc sendImages*(chatId: string, images: var seq[string]): RpcResponse[JsonNode]
|
|||
"imagePath": image,
|
||||
# TODO is this still needed
|
||||
# "ensName": preferredUsername,
|
||||
"text": "Update to latest version to see a nice image here!"
|
||||
"text": ""
|
||||
}
|
||||
)
|
||||
callPrivateRPC("sendChatMessages".prefix, %* [imagesJson])
|
||||
|
|
|
@ -522,7 +522,7 @@ Item {
|
|||
Loader {
|
||||
id: chatImageContent
|
||||
active: isImage
|
||||
anchors.top: parent.top
|
||||
anchors.top: chatText.visible ? chatText.bottom : parent.top
|
||||
anchors.topMargin: active ? 6 : 0
|
||||
z: 51
|
||||
sourceComponent: Component {
|
||||
|
|
Loading…
Reference in New Issue