summaryrefslogtreecommitdiff
path: root/modules/bar/popouts
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-09-13 15:50:04 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-09-13 15:50:04 +1000
commit98a709af78b4d3e7a41f40526d9ac0f99608e36f (patch)
treebb2a2b29784fd104e9ff731467b9ea33a834166a /modules/bar/popouts
parentplugin: refactor into modules (diff)
downloadcaelestia-shell-98a709af78b4d3e7a41f40526d9ac0f99608e36f.tar.gz
caelestia-shell-98a709af78b4d3e7a41f40526d9ac0f99608e36f.tar.bz2
caelestia-shell-98a709af78b4d3e7a41f40526d9ac0f99608e36f.zip
plugin/managers: add CircularIndicatorManager
Basically move StyledBusyIndicator -> CircularIndicator + logic for it from js -> c++
Diffstat (limited to 'modules/bar/popouts')
-rw-r--r--modules/bar/popouts/Bluetooth.qml2
-rw-r--r--modules/bar/popouts/Network.qml4
2 files changed, 3 insertions, 3 deletions
diff --git a/modules/bar/popouts/Bluetooth.qml b/modules/bar/popouts/Bluetooth.qml
index e623eae..53d8b29 100644
--- a/modules/bar/popouts/Bluetooth.qml
+++ b/modules/bar/popouts/Bluetooth.qml
@@ -110,7 +110,7 @@ ColumnLayout {
radius: Appearance.rounding.full
color: Qt.alpha(Colours.palette.m3primary, device.modelData.state === BluetoothDeviceState.Connected ? 1 : 0)
- StyledBusyIndicator {
+ CircularIndicator {
anchors.fill: parent
running: device.loading
}
diff --git a/modules/bar/popouts/Network.qml b/modules/bar/popouts/Network.qml
index 21d1913..f21a92d 100644
--- a/modules/bar/popouts/Network.qml
+++ b/modules/bar/popouts/Network.qml
@@ -104,7 +104,7 @@ ColumnLayout {
radius: Appearance.rounding.full
color: Qt.alpha(Colours.palette.m3primary, networkItem.modelData.active ? 1 : 0)
- StyledBusyIndicator {
+ CircularIndicator {
anchors.fill: parent
running: networkItem.loading
}
@@ -183,7 +183,7 @@ ColumnLayout {
}
}
- StyledBusyIndicator {
+ CircularIndicator {
anchors.centerIn: parent
strokeWidth: Appearance.padding.small / 2
bgColour: "transparent"