summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--resources/qml/ChatPage.qml4
1 files changed, 3 insertions, 1 deletions
diff --git a/resources/qml/ChatPage.qml b/resources/qml/ChatPage.qml

index bd60bdab..7cc6552a 100644 --- a/resources/qml/ChatPage.qml +++ b/resources/qml/ChatPage.qml
@@ -26,10 +26,12 @@ Rectangle { color: Nheko.theme.error visible: !TimelineManager.isConnected - Layout.preferredHeight: fontMetrics.height + Nheko.paddingMedium + Layout.preferredHeight: offlineLabel.height + Nheko.paddingMedium Layout.fillWidth: true Label { + id: offlineLabel + anchors.centerIn: parent text: qsTr("No network connection") }