diff --git a/src/mainview/components/CallActionBar.qml b/src/mainview/components/CallActionBar.qml index c14652972bc4f9b183b1a7bb3a6a8abf7fc50ae9..8aad215200fa16d981e9044f1154c3d1e78e0143 100644 --- a/src/mainview/components/CallActionBar.qml +++ b/src/mainview/components/CallActionBar.qml @@ -258,11 +258,11 @@ Control { }, Action { id: shareAction - property bool openPopupWhenClicked: AvAdapter.currentRenderingDeviceType - !== Video.DeviceType.DISPLAY onTriggered: { if (AvAdapter.currentRenderingDeviceType === Video.DeviceType.DISPLAY) root.stopSharingClicked() + else + root.shareScreenClicked() } icon.source: AvAdapter.currentRenderingDeviceType === Video.DeviceType.DISPLAY ? "qrc:/images/icons/share_stop_black_24dp.svg" : @@ -271,7 +271,7 @@ Control { "red" : "white" text: AvAdapter.currentRenderingDeviceType === Video.DeviceType.DISPLAY ? JamiStrings.stopSharing : - JamiStrings.selectShareMethod + JamiStrings.shareScreen property real size: 34 property var menuAction: shareMenuAction },