1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-09-05 06:33:25 +02:00

callActionBar: make share action as sharing screen by default

Change-Id: I4197e96a830f4e57fdf597e9230adffd3f9b5cb4
This commit is contained in:
Ming Rui Zhang 2021-06-03 12:36:05 -04:00
parent 7bb0e06dbc
commit 30f9d446e3

View file

@ -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
},