Bring back replies, accidentially deleted before...
This commit is contained in:
parent
5b0c3df4d3
commit
d2f5031485
1 changed files with 8 additions and 4 deletions
|
@ -520,8 +520,10 @@ Page {
|
||||||
width: messageBackground.width - Theme.horizontalPageMargin
|
width: messageBackground.width - Theme.horizontalPageMargin
|
||||||
anchors.centerIn: messageBackground
|
anchors.centerIn: messageBackground
|
||||||
|
|
||||||
Behavior on height {
|
Component.onCompleted: {
|
||||||
PropertyAnimation { easing.type: Easing.OutBack; duration: 200 }
|
if (display.reply_to_message_id !== 0) {
|
||||||
|
tdLibWrapper.getMessage(chatInformation.id, display.reply_to_message_id);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Connections {
|
Connections {
|
||||||
|
@ -887,7 +889,8 @@ Page {
|
||||||
IconButton {
|
IconButton {
|
||||||
id: attachmentIconButton
|
id: attachmentIconButton
|
||||||
icon.source: "image://theme/icon-m-attach"
|
icon.source: "image://theme/icon-m-attach"
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.bottom: parent.bottom
|
||||||
|
anchors.bottomMargin: Theme.paddingSmall
|
||||||
onClicked: {
|
onClicked: {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -896,7 +899,8 @@ Page {
|
||||||
IconButton {
|
IconButton {
|
||||||
id: newMessageSendButton
|
id: newMessageSendButton
|
||||||
icon.source: "image://theme/icon-m-chat"
|
icon.source: "image://theme/icon-m-chat"
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.bottom: parent.bottom
|
||||||
|
anchors.bottomMargin: Theme.paddingSmall
|
||||||
enabled: false
|
enabled: false
|
||||||
onClicked: {
|
onClicked: {
|
||||||
if (newMessageColumn.editMessageId !== "0") {
|
if (newMessageColumn.editMessageId !== "0") {
|
||||||
|
|
Loading…
Reference in a new issue