Fix qml warnings

This commit is contained in:
Carl Schwan
2021-05-23 22:55:20 +02:00
parent 0dbb56ba1e
commit 34da8734a2
2 changed files with 7 additions and 2 deletions

View File

@@ -61,6 +61,10 @@ Item {
QQC2.Pane {
id: connectionPane
padding: fontMetrics.lineSpacing * 0.25
FontMetrics {
id: fontMetrics
font: networkLabel.font
}
spacing: 0
Kirigami.Theme.colorSet: Kirigami.Theme.View
background: Rectangle {
@@ -69,6 +73,7 @@ Item {
visible: !Controller.isOnline
width: parent.width
QQC2.Label {
id: networkLabel
text: i18n("NeoChat is offline. Please check your network connection.")
}
anchors.bottom: emojiPickerLoaderSeparator.top