summaryrefslogtreecommitdiff
path: root/modules/bar/popouts
diff options
context:
space:
mode:
Diffstat (limited to 'modules/bar/popouts')
-rw-r--r--modules/bar/popouts/Bluetooth.qml13
-rw-r--r--modules/bar/popouts/Network.qml13
2 files changed, 4 insertions, 22 deletions
diff --git a/modules/bar/popouts/Bluetooth.qml b/modules/bar/popouts/Bluetooth.qml
index 6678030..22bdc77 100644
--- a/modules/bar/popouts/Bluetooth.qml
+++ b/modules/bar/popouts/Bluetooth.qml
@@ -111,17 +111,8 @@ ColumnLayout {
color: Qt.alpha(Colours.palette.m3primary, device.modelData.state === BluetoothDeviceState.Connected ? 1 : 0)
StyledBusyIndicator {
- anchors.centerIn: parent
-
- implicitWidth: implicitHeight
- implicitHeight: connectIcon.implicitHeight
-
- running: opacity > 0
- opacity: device.loading ? 1 : 0
-
- Behavior on opacity {
- Anim {}
- }
+ anchors.fill: parent
+ running: device.loading
}
StateLayer {
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 {