Show the device we're currently using.

This commit is contained in:
Adam Treat 2023-09-13 15:24:33 -04:00
parent 891ddafc33
commit 358ff2a477

View File

@ -1006,12 +1006,24 @@ Window {
} }
Text { Text {
id: speed id: device
anchors.bottom: textInputView.top anchors.bottom: textInputView.top
anchors.bottomMargin: 20 anchors.bottomMargin: 20
anchors.right: parent.right anchors.right: parent.right
anchors.rightMargin: 30 anchors.rightMargin: 30
color: theme.mutedTextColor color: theme.mutedTextColor
visible: speed.text !== ""
text: MySettings.device
font.pixelSize: theme.fontSizeLarge - 1
}
Text {
id: speed
anchors.bottom: device.bottom
anchors.bottomMargin: 20
anchors.right: parent.right
anchors.rightMargin: 30
color: theme.mutedTextColor
text: currentChat.tokenSpeed text: currentChat.tokenSpeed
font.pixelSize: theme.fontSizeLarge font.pixelSize: theme.fontSizeLarge
} }