Fix hidden preview in one-one call.

This commit is contained in:
Julien Wadel 2022-08-24 17:40:09 +02:00
parent 28b5460fe5
commit 5265866854

View file

@ -76,11 +76,14 @@ Item {
anchors.rightMargin: 30
anchors.topMargin: 30
anchors.bottomMargin: 30
height: miniViews.cellHeight
width: 16 * height / 9
visible: mainItem.showMe && (!callModel.isConference || allDevices.count >= 1)
Sticker{
anchors.fill: parent
visible: mainItem.showMe && allDevices.count >= 1
anchors.margins: 3
deactivateCamera: !mainItem.callModel || !mainItem.showMe || !mainItem.callModel.localVideoEnabled
currentDevice: allDevices.me