Commit 29d54f7e authored by Wescoeur's avatar Wescoeur

fix(ui/views/App/Calls/Conference): remove useless tooltip that block button animations on pause

parent 62428fa1
......@@ -443,14 +443,6 @@ Server url not configured.</translation>
<source>conferenceTitle</source>
<translation>CONFERENCE</translation>
</message>
<message>
<source>leaveConf</source>
<translation>Temporarily leave the conference</translation>
</message>
<message>
<source>joinBackConf</source>
<translation>Join back the conference</translation>
</message>
</context>
<context>
<name>ConferenceControls</name>
......
......@@ -443,14 +443,6 @@ Url du serveur non configurée.</translation>
<source>conferenceTitle</source>
<translation>CONFÉRENCE</translation>
</message>
<message>
<source>leaveConf</source>
<translation>Quitter temporairement la conférence</translation>
</message>
<message>
<source>joinBackConf</source>
<translation>Rejoindre la conférence</translation>
</message>
</context>
<context>
<name>ConferenceControls</name>
......
......@@ -234,18 +234,20 @@ Rectangle {
rightMargin: CallStyle.actionArea.rightButtonsGroupMargin
verticalCenter: parent.verticalCenter
}
iconSize: CallStyle.actionArea.iconSize
ActionSwitch {
icon: 'pause'
enabled: conference.conferenceModel.isInConf
icon: 'pause'
onClicked: {
conference.conferenceModel.isInConf ? conference.conferenceModel.leave() : conference.conferenceModel.join()
}
TooltipArea {
text: conference.conferenceModel.isInConf ? qsTr('leaveConf') : qsTr('joinBackConf')
var model = conference.conferenceModel
if (model.isInConf) {
model.leave()
} else {
model.join()
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment