summaryrefslogtreecommitdiff
path: root/modules/utilities/cards/Toggles.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2026-01-03 17:53:06 +1100
committerGitHub <noreply@github.com>2026-01-03 17:53:06 +1100
commitbdcd13222fc6edc77c779a396900ab909e7d5439 (patch)
treef9457f3c91c05ec852f974f239d06aca52a3918e /modules/utilities/cards/Toggles.qml
parent[CI] chore: update flake (diff)
parentMerge branch 'caelestia-dots:main' into main (diff)
downloadcaelestia-shell-bdcd13222fc6edc77c779a396900ab909e7d5439.tar.gz
caelestia-shell-bdcd13222fc6edc77c779a396900ab909e7d5439.tar.bz2
caelestia-shell-bdcd13222fc6edc77c779a396900ab909e7d5439.zip
Merge pull request #906 from atdma/main
controlcenter: many setting panes and minor features
Diffstat (limited to 'modules/utilities/cards/Toggles.qml')
-rw-r--r--modules/utilities/cards/Toggles.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/utilities/cards/Toggles.qml b/modules/utilities/cards/Toggles.qml
index 3d18e72..51e991e 100644
--- a/modules/utilities/cards/Toggles.qml
+++ b/modules/utilities/cards/Toggles.qml
@@ -12,6 +12,7 @@ StyledRect {
id: root
required property var visibilities
+ required property Item popouts
Layout.fillWidth: true
implicitHeight: layout.implicitHeight + Appearance.padding.large * 2
@@ -67,9 +68,7 @@ StyledRect {
toggle: false
onClicked: {
root.visibilities.utilities = false;
- WindowFactory.create(null, {
- screen: QsWindow.window?.screen ?? null
- });
+ root.popouts.detach("network");
}
}
@@ -92,6 +91,7 @@ StyledRect {
visible: VPN.enabled
onClicked: VPN.toggle()
}
+
}
}