summaryrefslogtreecommitdiff
path: root/src/modules/popdowns/networks.tsx
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-01-31 21:05:24 +1100
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-01-31 21:05:24 +1100
commitb9afce1babb7d3da3d33e9bab2c763c289fbf352 (patch)
tree947c25ba551bd4382d667a6ec6c9c93d3aec51fb /src/modules/popdowns/networks.tsx
parentrefactor: move weather icons to utils (diff)
downloadcaelestia-shell-b9afce1babb7d3da3d33e9bab2c763c289fbf352.tar.gz
caelestia-shell-b9afce1babb7d3da3d33e9bab2c763c289fbf352.tar.bz2
caelestia-shell-b9afce1babb7d3da3d33e9bab2c763c289fbf352.zip
popdowns: some minor header button changes
Diffstat (limited to 'src/modules/popdowns/networks.tsx')
-rw-r--r--src/modules/popdowns/networks.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/popdowns/networks.tsx b/src/modules/popdowns/networks.tsx
index 18a38d3..726f1c9 100644
--- a/src/modules/popdowns/networks.tsx
+++ b/src/modules/popdowns/networks.tsx
@@ -84,11 +84,11 @@ export default () => {
countLabel={bind(label)}
headerButtons={[
{
- label: bind(network.wifi, "enabled").as(p => (p ? "Disable" : "Enable")),
+ label: bind(network.wifi, "enabled").as(e => (e ? "Disable" : "Enable")),
onClicked: () => (network.wifi.enabled = !network.wifi.enabled),
},
{
- label: "Scan",
+ label: bind(network.wifi, "scanning").as(s => (s ? "Scanning" : "Scan")),
onClicked: () => network.wifi.scan(),
enabled: bind(network.wifi, "scanning"),
},