chore: update cosmic-settings-subscriptions

This commit is contained in:
Ashley Wulber 2025-05-02 14:46:27 -04:00 committed by Michael Murphy
parent 482fa9466a
commit 8c95adbae6
5 changed files with 221 additions and 161 deletions

View file

@ -93,7 +93,14 @@ pwhash = "1"
[dependencies.cosmic-settings-subscriptions]
git = "https://github.com/pop-os/cosmic-settings-subscriptions"
#TODO: only select features as needed
features = ["cosmic_a11y_manager", "accessibility", "network_manager", "pipewire", "pulse", "bluetooth"]
features = [
"cosmic_a11y_manager",
"accessibility",
"network_manager",
"pipewire",
"pulse",
"bluetooth",
]
optional = true
[dependencies.icu]

View file

@ -123,7 +123,7 @@ impl page::Page<crate::pages::Message> for Page {
fn on_enter(&mut self) -> cosmic::Task<crate::pages::Message> {
if self.wayland_thread.is_none() {
match wayland::spawn_wayland_connection() {
match wayland::spawn_wayland_connection(1) {
Ok((tx, mut rx)) => {
self.wayland_thread = Some(tx);

View file

@ -110,7 +110,7 @@ impl page::Page<crate::pages::Message> for Page {
fn on_enter(&mut self) -> cosmic::Task<crate::pages::Message> {
if self.wayland_thread.is_none() {
match cosmic_a11y_manager::spawn_wayland_connection() {
match cosmic_a11y_manager::spawn_wayland_connection(1) {
Ok((tx, mut rx)) => {
self.wayland_thread = Some(tx);