Skip to content
Snippets Groups Projects
Commit 30f9d446 authored by Ming Rui Zhang's avatar Ming Rui Zhang
Browse files

callActionBar: make share action as sharing screen by default

Change-Id: I4197e96a830f4e57fdf597e9230adffd3f9b5cb4
parent 7bb0e06d
No related branches found
No related tags found
No related merge requests found
...@@ -258,11 +258,11 @@ Control { ...@@ -258,11 +258,11 @@ Control {
}, },
Action { Action {
id: shareAction id: shareAction
property bool openPopupWhenClicked: AvAdapter.currentRenderingDeviceType
!== Video.DeviceType.DISPLAY
onTriggered: { onTriggered: {
if (AvAdapter.currentRenderingDeviceType === Video.DeviceType.DISPLAY) if (AvAdapter.currentRenderingDeviceType === Video.DeviceType.DISPLAY)
root.stopSharingClicked() root.stopSharingClicked()
else
root.shareScreenClicked()
} }
icon.source: AvAdapter.currentRenderingDeviceType === Video.DeviceType.DISPLAY ? icon.source: AvAdapter.currentRenderingDeviceType === Video.DeviceType.DISPLAY ?
"qrc:/images/icons/share_stop_black_24dp.svg" : "qrc:/images/icons/share_stop_black_24dp.svg" :
...@@ -271,7 +271,7 @@ Control { ...@@ -271,7 +271,7 @@ Control {
"red" : "white" "red" : "white"
text: AvAdapter.currentRenderingDeviceType === Video.DeviceType.DISPLAY ? text: AvAdapter.currentRenderingDeviceType === Video.DeviceType.DISPLAY ?
JamiStrings.stopSharing : JamiStrings.stopSharing :
JamiStrings.selectShareMethod JamiStrings.shareScreen
property real size: 34 property real size: 34
property var menuAction: shareMenuAction property var menuAction: shareMenuAction
}, },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment