fix: change arrow button to 'start chat' for join public chat modal

This commit is contained in:
hydr063n 2020-10-03 13:14:23 +02:00 committed by Iuri Matias
parent 7a5060da32
commit 0ed41902a8
1 changed files with 5 additions and 17 deletions

View File

@ -3,6 +3,7 @@ import QtQuick.Controls 2.13
import QtQuick.Layouts 1.13
import "../../../../imports"
import "../../../../shared"
import "../../../../shared/status"
import "../data/channelList.js" as ChannelJSON
import "./"
@ -77,24 +78,11 @@ ModalPopup {
}
}
footer: Button {
width: 44
height: 44
footer: StatusButton {
anchors.bottom: parent.bottom
anchors.right: parent.right
background: Rectangle {
color: "transparent"
}
SVGImage {
source: channelName.text == "" ? "../../../img/arrow-button-inactive.svg" : "../../../img/arrow-btn-active.svg"
width: 50
height: 50
}
MouseArea {
id: btnMAJoinChat
cursorShape: Qt.PointingHandCursor
anchors.fill: parent
onClicked : doJoin()
}
onClicked : doJoin()
//% "Start chat"
text: qsTrId("start-chat")
}
}