Commit 71f8f755 authored by Martin Straka's avatar Martin Straka Committed by Karel Slaný

Used transitions between message pages

parent 7d1de0f2
......@@ -341,7 +341,7 @@ Component {
"userName": rUserName,
"msgType": MessageType.TYPE_RECEIVED,
"accountModel": accountModel
}, StackView.Immediate)
})
}
}
Rectangle {
......@@ -410,7 +410,7 @@ Component {
"userName": rUserName,
"msgType": MessageType.TYPE_SENT,
"accountModel": accountModel
}, StackView.Immediate)
})
}
}
Rectangle {
......
......@@ -148,7 +148,7 @@ Component {
if (typeof(statusBar) != "undefined") {
statusBar.visible = false
}
pageView.pop(StackView.Immediate)
pageView.pop()
}
}
}
......@@ -221,7 +221,7 @@ Component {
"msgId": zfoId,
"messageModel": messageModel,
"attachmentModel" : attachmentModel
}, StackView.Immediate)
})
}
}
}
......@@ -366,7 +366,7 @@ Component {
"statusBar": statusBar,
"fromLocalDb": false,
"rawZfoContent": fileContent
}, StackView.Immediate)
})
} else {
if (!fromLocalDb) {
files.openAttachment(rFileName, rFileContent)
......
......@@ -25,6 +25,7 @@ import QtQuick 2.7
import QtQuick.Controls 2.1
import QtQuick.Window 2.1
import QtQuick.Dialogs 1.2
import QtGraphicalEffects 1.0
import cz.nic.mobileDatovka 1.0
import cz.nic.mobileDatovka.messages 1.0
import cz.nic.mobileDatovka.models 1.0
......@@ -92,7 +93,7 @@ Component {
onClicked: {
accounts.updateNewMessageCounter(accountModel, userName)
statusBar.visible = false
pageView.pop(StackView.Immediate)
pageView.pop()
}
}
}
......@@ -183,7 +184,7 @@ Component {
"msgType": msgType,
"msgId": msgId,
"messageModel": messageModel
}, StackView.Immediate)
})
}
onMsgPressAndHold: {
statusBar.visible = false
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment