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 {
},
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
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment