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:
parent
7bb0e06dbc
commit
30f9d446e3
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue