Merge pull request #261 from jgibbon/bugfix/fix_some_warnings
Bugfix/fix some warnings
This commit is contained in:
commit
21810b05aa
3 changed files with 3 additions and 3 deletions
|
@ -444,7 +444,7 @@ Item {
|
|||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
anchors.bottom: positionText.top
|
||||
minimumValue: 0
|
||||
maximumValue: messageAudio.duration ? messageAudio.duration : 0
|
||||
maximumValue: messageAudio.duration ? messageAudio.duration : 0.1
|
||||
stepSize: 1
|
||||
value: messageAudio.position
|
||||
enabled: messageAudio.seekable
|
||||
|
|
|
@ -482,7 +482,7 @@ Item {
|
|||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
anchors.bottom: positionText.top
|
||||
minimumValue: 0
|
||||
maximumValue: messageVideo.duration ? messageVideo.duration : 0
|
||||
maximumValue: messageVideo.duration ? messageVideo.duration : 0.1
|
||||
|
||||
highlighted: videoMessageComponent.highlighted || down
|
||||
stepSize: 1
|
||||
|
|
|
@ -459,7 +459,7 @@ Page {
|
|||
Debug.log("[ChatPage] Received pinned message");
|
||||
pinnedMessageItem.pinnedMessage = message;
|
||||
}
|
||||
if (messageId === chatInformation.draft_message.reply_to_message_id) {
|
||||
if (chatInformation.draft_message && messageId === chatInformation.draft_message.reply_to_message_id) {
|
||||
newMessageInReplyToRow.inReplyToMessage = message;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue