use BarLabel instead of Text

This commit is contained in:
Damocles 2026-04-12 14:52:23 +02:00
parent ed72d81f3b
commit 6f80224d6c
5 changed files with 14 additions and 24 deletions

View file

@ -64,12 +64,10 @@ M.BarSection {
color: root.state === "disconnected" ? M.Theme.base08 : M.Theme.base0C
anchors.verticalCenter: parent.verticalCenter
}
Text {
M.BarLabel {
visible: root.state === "wifi"
text: root.essid
label: root.essid
color: root.state === "disconnected" ? M.Theme.base08 : M.Theme.base0C
font.pixelSize: M.Theme.fontSize + 1
font.family: M.Theme.fontFamily
anchors.verticalCenter: parent.verticalCenter
}
}