fix: change arrow button to 'start chat' for join public chat modal
This commit is contained in:
parent
7a5060da32
commit
0ed41902a8
|
@ -3,6 +3,7 @@ import QtQuick.Controls 2.13
|
||||||
import QtQuick.Layouts 1.13
|
import QtQuick.Layouts 1.13
|
||||||
import "../../../../imports"
|
import "../../../../imports"
|
||||||
import "../../../../shared"
|
import "../../../../shared"
|
||||||
|
import "../../../../shared/status"
|
||||||
import "../data/channelList.js" as ChannelJSON
|
import "../data/channelList.js" as ChannelJSON
|
||||||
import "./"
|
import "./"
|
||||||
|
|
||||||
|
@ -77,24 +78,11 @@ ModalPopup {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
footer: Button {
|
footer: StatusButton {
|
||||||
width: 44
|
|
||||||
height: 44
|
|
||||||
anchors.bottom: parent.bottom
|
anchors.bottom: parent.bottom
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
background: Rectangle {
|
onClicked : doJoin()
|
||||||
color: "transparent"
|
//% "Start chat"
|
||||||
}
|
text: qsTrId("start-chat")
|
||||||
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()
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue