chore: update libcosmic after reexports were removed

This commit is contained in:
Ashley Wulber 2026-04-09 13:49:09 -04:00 committed by Michael Murphy
parent 04da80bb90
commit 3639bafcfa
40 changed files with 200 additions and 217 deletions

View file

@ -2,7 +2,7 @@
// SPDX-License-Identifier: MPL-2.0
use cosmic::Task;
use cosmic::iced_futures::MaybeSend;
use cosmic::iced::stream;
use cosmic_pipewire as pipewire;
use futures::{SinkExt, Stream};
use intmap::IntMap;
@ -18,8 +18,8 @@ pub type NodeId = u32;
pub type ProfileId = i32;
pub type RouteId = u32;
pub fn watch() -> impl Stream<Item = Message> + MaybeSend + 'static {
cosmic::iced_futures::stream::channel(
pub fn watch() -> impl Stream<Item = Message> + Send + 'static {
stream::channel(
1,
|mut emitter: futures::channel::mpsc::Sender<Message>| async move {
loop {