test(StatusMessage): Added objectName to `StatusTextMessage` (#869)

This commit is contained in:
Igor Sirotin 2022-08-25 23:30:05 +03:00 committed by GitHub
parent 4d63af303c
commit fd6d735df8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -280,6 +280,7 @@ Rectangle {
active: !editMode && !!root.messageDetails.messageText
visible: active
sourceComponent: StatusTextMessage {
objectName: "StatusMessage_textMessage"
textField.text: {
if (root.messageDetails.contentType === StatusMessage.ContentType.Sticker)
return "";