Fixup the plus new chat button.

pull/785/head
Adam Treat 1 year ago
parent ae51e3f6fa
commit 93a05c8834

@ -37,8 +37,16 @@ Drawer {
anchors.left: parent.left anchors.left: parent.left
anchors.right: parent.right anchors.right: parent.right
font.pixelSize: theme.fontSizeLarger 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") 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: { onClicked: {
LLM.chatListModel.addChat(); LLM.chatListModel.addChat();
Network.sendNewChat(LLM.chatListModel.count) Network.sendNewChat(LLM.chatListModel.count)

Loading…
Cancel
Save