Fixup the plus new chat button.

This commit is contained in:
Adam Treat 2023-05-31 20:42:00 -04:00
parent ae51e3f6fa
commit 93a05c8834

View File

@ -37,8 +37,16 @@ Drawer {
anchors.left: parent.left
anchors.right: parent.right
font.pixelSize: theme.fontSizeLarger
text: qsTr("New chat")
topPadding: 20
bottomPadding: 20
text: qsTr("\uFF0B New chat")
Accessible.description: qsTr("Use this to create a new chat")
background: Rectangle {
border.color: newChat.down ? theme.backgroundLightest : theme.buttonBorder
border.width: 2
radius: 10
color: newChat.hovered ? theme.backgroundDark : theme.backgroundDarkest
}
onClicked: {
LLM.chatListModel.addChat();
Network.sendNewChat(LLM.chatListModel.count)