summaryrefslogtreecommitdiff
path: root/modules/bar/popouts/Network.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-14 23:22:47 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-08-14 23:22:47 +1000
commitedef1d21fb59b62ae8b684b375b046fc483dcd48 (patch)
treeac31ae636a30082ff453f8c23f0483b74abf1926 /modules/bar/popouts/Network.qml
parentnix: use newer version of app2unit (#419) (diff)
downloadcaelestia-shell-edef1d21fb59b62ae8b684b375b046fc483dcd48.tar.gz
caelestia-shell-edef1d21fb59b62ae8b684b375b046fc483dcd48.tar.bz2
caelestia-shell-edef1d21fb59b62ae8b684b375b046fc483dcd48.zip
internal: better loading indicator
Abstract circular progress into own component
Diffstat (limited to 'modules/bar/popouts/Network.qml')
-rw-r--r--modules/bar/popouts/Network.qml13
1 files changed, 2 insertions, 11 deletions
diff --git a/modules/bar/popouts/Network.qml b/modules/bar/popouts/Network.qml
index 6a95b73..966823e 100644
--- a/modules/bar/popouts/Network.qml
+++ b/modules/bar/popouts/Network.qml
@@ -105,17 +105,8 @@ ColumnLayout {
color: Qt.alpha(Colours.palette.m3primary, networkItem.modelData.active ? 1 : 0)
StyledBusyIndicator {
- anchors.centerIn: parent
-
- implicitWidth: implicitHeight
- implicitHeight: connectIcon.implicitHeight
-
- running: opacity > 0
- opacity: networkItem.loading ? 1 : 0
-
- Behavior on opacity {
- Anim {}
- }
+ anchors.fill: parent
+ running: networkItem.loading
}
StateLayer {