summaryrefslogtreecommitdiff
path: root/modules/controlcenter/network/WirelessList.qml
diff options
context:
space:
mode:
authorATMDA <atdma2600@gmail.com>2025-11-20 08:36:10 -0500
committerATMDA <atdma2600@gmail.com>2025-11-20 08:36:10 -0500
commit5a369702d1e227df0842ad31d8d93710ad068add (patch)
tree2bbfd22223a868c9ab8bc806c088b008e22db19e /modules/controlcenter/network/WirelessList.qml
parentrefactor: EthernetList styling (diff)
downloadcaelestia-shell-5a369702d1e227df0842ad31d8d93710ad068add.tar.gz
caelestia-shell-5a369702d1e227df0842ad31d8d93710ad068add.tar.bz2
caelestia-shell-5a369702d1e227df0842ad31d8d93710ad068add.zip
controlcenter: updated wireless icons
Diffstat (limited to 'modules/controlcenter/network/WirelessList.qml')
-rw-r--r--modules/controlcenter/network/WirelessList.qml35
1 files changed, 1 insertions, 34 deletions
diff --git a/modules/controlcenter/network/WirelessList.qml b/modules/controlcenter/network/WirelessList.qml
index 43d56d2..8159291 100644
--- a/modules/controlcenter/network/WirelessList.qml
+++ b/modules/controlcenter/network/WirelessList.qml
@@ -138,44 +138,11 @@ DeviceList {
id: icon
anchors.centerIn: parent
- text: Icons.getNetworkIcon(modelData.strength)
+ text: Icons.getNetworkIcon(modelData.strength, modelData.isSecure)
font.pointSize: Appearance.font.size.large
fill: modelData.active ? 1 : 0
color: modelData.active ? Colours.palette.m3onPrimaryContainer : Colours.palette.m3onSurface
}
-
- StyledRect {
- id: lockBadge
-
- visible: modelData.isSecure
- anchors.right: parent.right
- anchors.bottom: parent.bottom
- anchors.margins: -Appearance.padding.smaller / 2
-
- implicitWidth: lockIconSize + Appearance.padding.smaller
- implicitHeight: lockIconSize + Appearance.padding.smaller
- radius: Appearance.rounding.full
- color: Colours.palette.m3secondaryContainer
-
- readonly property real lockIconSize: lockIcon.implicitWidth
-
- Elevation {
- anchors.fill: parent
- radius: parent.radius
- z: -1
- level: 2
- }
-
- MaterialIcon {
- id: lockIcon
-
- anchors.centerIn: parent
- text: "lock"
- font.pointSize: Appearance.font.size.small
- fill: 1
- color: Colours.palette.m3onSurface
- }
- }
}
ColumnLayout {