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,
|
"imagePath": image,
|
||||||
# TODO is this still needed
|
# TODO is this still needed
|
||||||
# "ensName": preferredUsername,
|
# "ensName": preferredUsername,
|
||||||
"text": "Update to latest version to see a nice image here!"
|
"text": ""
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
callPrivateRPC("sendChatMessages".prefix, %* [imagesJson])
|
callPrivateRPC("sendChatMessages".prefix, %* [imagesJson])
|
||||||
|
|
|
@ -522,7 +522,7 @@ Item {
|
||||||
Loader {
|
Loader {
|
||||||
id: chatImageContent
|
id: chatImageContent
|
||||||
active: isImage
|
active: isImage
|
||||||
anchors.top: parent.top
|
anchors.top: chatText.visible ? chatText.bottom : parent.top
|
||||||
anchors.topMargin: active ? 6 : 0
|
anchors.topMargin: active ? 6 : 0
|
||||||
z: 51
|
z: 51
|
||||||
sourceComponent: Component {
|
sourceComponent: Component {
|
||||||
|
|
Loading…
Reference in New Issue