From 30f9d446e3761142cb776220a0b9632da01c7ce3 Mon Sep 17 00:00:00 2001 From: Ming Rui Zhang <mingrui.zhang@savoirfairelinux.com> Date: Thu, 3 Jun 2021 12:36:05 -0400 Subject: [PATCH] callActionBar: make share action as sharing screen by default Change-Id: I4197e96a830f4e57fdf597e9230adffd3f9b5cb4 --- src/mainview/components/CallActionBar.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mainview/components/CallActionBar.qml b/src/mainview/components/CallActionBar.qml index c14652972..8aad21520 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 }, -- GitLab