update libcosmic

This commit is contained in:
Ashley Wulber 2023-06-15 15:03:06 -04:00 committed by Ashley Wulber
parent 61d527a84c
commit 5a15ef8d7f
19 changed files with 124 additions and 146 deletions

View file

@ -10,8 +10,8 @@ icon-loader = { version = "0.3.6", features = ["gtk"] }
libpulse-binding = "2.26.0"
libpulse-glib-binding = "2.25.0"
tokio = { version = "1.20.1", features=["full"] }
libcosmic = { git = "https://github.com/pop-os/libcosmic/", rev = "6699aa4", default-features = false, features = ["tokio", "wayland"] }
cosmic-time = { git = "https://github.com/pop-os/cosmic-time", rev = "07f9372", default-features = false, features = ["libcosmic", "once_cell"] }
libcosmic = { git = "https://github.com/pop-os/libcosmic/", default-features = false, features = ["tokio", "wayland"] }
cosmic-time = { git = "https://github.com/pop-os/cosmic-time", rev = "39c96ac", default-features = false, features = ["libcosmic", "once_cell"] }
cosmic-applet = { path = "../applet" }
log = "0.4.14"
pretty_env_logger = "0.4.0"

View file

@ -288,7 +288,9 @@ impl Application for Audio {
Subscription::batch(vec![
self.applet_helper.theme_subscription(0).map(Message::Theme),
pulse::connect().map(Message::Pulse),
self.timeline.as_subscription().map(Message::Frame),
self.timeline
.as_subscription()
.map(|(_, now)| Message::Frame(now)),
])
}