fix(@desktop/chats) Gifs playing when window is not active

fixes #2391
This commit is contained in:
Khushboo Mehta 2021-08-26 10:41:51 +02:00 committed by Iuri Matias
parent fb0cedf9a6
commit c5474d42fa
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ Item {
property int imageWidth: 350
property bool isCurrentUser: false
property url source
property bool playing: true
property bool playing: applicationWindow.active
property bool isAnimated: !!source && source.toString().endsWith('.gif')
signal clicked(var image, var button)
property var container