Fix 'TypeError: Cannot readproperty 'messageSent' of undefined'.

Signed-off-by: Camila <hello@camila.codes>
This commit is contained in:
Camila 2022-05-19 13:28:59 +02:00 committed by Matthieu Gallien
parent 084fdc0cc0
commit 2fa834446a

View file

@ -80,7 +80,7 @@ MouseArea {
Loader {
id: talkReplyTextFieldLoader
active: root.isChatActivity && root.isTalkReplyPossible && root.activityData.messageSent === ""
active: root.isChatActivity && root.isTalkReplyPossible && model.messageSent === ""
visible: root.isTalkReplyOptionVisible
Layout.leftMargin: Style.trayListItemIconSize + activityContent.spacing