fix: hide the charge limit toggle on unsupported devices

This commit is contained in:
Ashley Wulber 2025-07-28 13:53:51 -04:00 • committed by Ashley Wulber
parent 98e1cdec52
commit 65b8376a40
4 changed files with 67 additions and 47 deletions

View file

@ -5,6 +5,7 @@ edition = "2021"
license = "GPL-3.0-only"
[dependencies]
anyhow = "1"
cosmic-settings-subscriptions.workspace = true
cosmic-settings-subscriptions.features = ["settings_daemon", "upower"]
cosmic-time.workspace = true