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> ...@@ -443,14 +443,6 @@ Server url not configured.</translation>
<source>conferenceTitle</source> <source>conferenceTitle</source>
<translation>CONFERENCE</translation> <translation>CONFERENCE</translation>
</message> </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>
<context> <context>
<name>ConferenceControls</name> <name>ConferenceControls</name>
......
...@@ -443,14 +443,6 @@ Url du serveur non configurée.</translation> ...@@ -443,14 +443,6 @@ Url du serveur non configurée.</translation>
<source>conferenceTitle</source> <source>conferenceTitle</source>
<translation>CONFÉRENCE</translation> <translation>CONFÉRENCE</translation>
</message> </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>
<context> <context>
<name>ConferenceControls</name> <name>ConferenceControls</name>
......
...@@ -234,18 +234,20 @@ Rectangle { ...@@ -234,18 +234,20 @@ Rectangle {
rightMargin: CallStyle.actionArea.rightButtonsGroupMargin rightMargin: CallStyle.actionArea.rightButtonsGroupMargin
verticalCenter: parent.verticalCenter verticalCenter: parent.verticalCenter
} }
iconSize: CallStyle.actionArea.iconSize iconSize: CallStyle.actionArea.iconSize
ActionSwitch { ActionSwitch {
icon: 'pause'
enabled: conference.conferenceModel.isInConf enabled: conference.conferenceModel.isInConf
icon: 'pause'
onClicked: { onClicked: {
conference.conferenceModel.isInConf ? conference.conferenceModel.leave() : conference.conferenceModel.join() var model = conference.conferenceModel
if (model.isInConf) {
model.leave()
} else {
model.join()
} }
TooltipArea {
text: conference.conferenceModel.isInConf ? qsTr('leaveConf') : qsTr('joinBackConf')
} }
} }
......
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