fix: Getting http errors (#252)

This commit is contained in:
Petr Mironychev
2025-11-11 09:00:33 +01:00
committed by GitHub
parent 4d79760481
commit 89797639cf
4 changed files with 68 additions and 8 deletions

View File

@ -371,7 +371,7 @@ ChatRootView {
id: errorToast
z: 1000
color: Qt.rgba(0.8, 0.2, 0.2, 0.7)
color: Qt.rgba(0.8, 0.2, 0.2, 0.9)
border.color: Qt.darker(infoToast.color, 1.3)
toastTextColor: "#FFFFFF"
}
@ -380,7 +380,7 @@ ChatRootView {
id: infoToast
z: 1000
color: Qt.rgba(0.2, 0.8, 0.2, 0.7)
color: Qt.rgba(0.2, 0.8, 0.2, 0.9)
border.color: Qt.darker(infoToast.color, 1.3)
toastTextColor: "#FFFFFF"
}

View File

@ -26,7 +26,7 @@ Rectangle {
property alias toastTextColor: textItem.color
property string errorText: ""
property int displayDuration: 5000
property int displayDuration: 7000
width: Math.min(parent.width - 40, textItem.implicitWidth + radius)
height: visible ? (textItem.implicitHeight + 12) : 0