chore(StatusChatInput): hide ChatCommands for now

Fixes #10893
This commit is contained in:
Jonathan Rainville 2023-06-01 14:22:30 -04:00
parent ceb810e63d
commit 3760e5f5a7
1 changed files with 40 additions and 31 deletions

View File

@ -1025,7 +1025,11 @@ Rectangle {
}
}
ChatCommandsPopup {
// TODO remove that Loader when the Chat Commands are re-implemented and fixed
// Bonus if we use `openPopup` instead with a Component instead
Loader {
active: false
sourceComponent: ChatCommandsPopup {
id: chatCommandsPopup
x: 8
y: -height
@ -1044,6 +1048,7 @@ Rectangle {
chatCommandsBtn.highlighted = true
}
}
}
StatusGifPopup {
id: gifPopup
@ -1070,7 +1075,10 @@ Rectangle {
anchors.fill: parent
spacing: 4
StatusQ.StatusFlatRoundButton {
// TODO remove that Loader when the Chat Commands are re-implemented and fixed
Loader {
active: false
sourceComponent: StatusQ.StatusFlatRoundButton {
id: chatCommandsBtn
Layout.preferredWidth: 32
Layout.preferredHeight: 32
@ -1086,6 +1094,7 @@ Rectangle {
chatCommandsPopup.open()
}
}
}
StatusQ.StatusFlatRoundButton {
id: imageBtn