mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-23 06:38:07 +00:00
fix(ui/modules/Linphone/Chat/IncomingMessage): index can be -1
This commit is contained in:
parent
34fbdac7e2
commit
39e83ddb58
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ RowLayout {
|
|||
|
||||
// The avatar is only visible for the first message of a incoming messages sequence.
|
||||
visible: {
|
||||
if (index === 0) {
|
||||
if (index <= 0) {
|
||||
return true
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue