1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-08-31 20:23:30 +02:00

calls: remove "back" button from call overlay

This button interferes with participant overlays and the concept
of returning to the welcome view will be phased out.

Change-Id: I7ee73ed93c6ec74f10b5b00ca1fe5739a88b123d
This commit is contained in:
Andreas Traczyk 2021-04-09 13:47:26 -04:00
parent 8ab37ab46e
commit b26e6dbade

View file

@ -270,40 +270,6 @@ Rectangle {
anchors.fill: parent
PushButton {
id: backButton
Layout.alignment: Qt.AlignVCenter | Qt.AlignLeft
Layout.preferredWidth: JamiTheme.preferredFieldHeight
Layout.preferredHeight: JamiTheme.preferredFieldHeight
Layout.rightMargin: JamiTheme.preferredMarginSize
Layout.topMargin: JamiTheme.preferredMarginSize
Layout.leftMargin: JamiTheme.preferredMarginSize
source: JamiQmlUtils.callIsFullscreen ?
"qrc:/images/icons/round-close-24px.svg" :
"qrc:/images/icons/ic_arrow_back_24px.svg"
pressedColor: JamiTheme.invertedPressedButtonColor
hoveredColor: JamiTheme.invertedHoveredButtonColor
normalColor: JamiTheme.invertedNormalButtonColor
imageColor: JamiTheme.whiteColor
toolTipText: qsTr("Toggle to display side panel")
visible: true
onClicked: {
if (JamiQmlUtils.callIsFullscreen) {
callStackView.toggleFullScreen()
} else {
mainView.showWelcomeView()
}
}
}
Text {
id: jamiBestNameText