chore: update libcosmic

fixes input clipping
This commit is contained in:
Ashley Wulber 2026-04-08 12:00:16 -04:00 committed by Jacob Kauffmann
parent 9a043e8b72
commit 619910c5cc
9 changed files with 388 additions and 85 deletions

View file

@ -1,6 +1,7 @@
use cosmic::iced::{
Subscription,
futures::{SinkExt, StreamExt, channel::mpsc},
stream,
};
use futures_util::select;
use std::{any::TypeId, time::Duration};
@ -11,7 +12,7 @@ pub fn subscription() -> Subscription<Option<(f64, bool, bool)>> {
struct PowerSubscription;
Subscription::run_with(TypeId::of::<PowerSubscription>(), |_| {
cosmic::iced_futures::stream::channel(16, |mut msg_tx| async move {
stream::channel(16, |mut msg_tx| async move {
match handler(&mut msg_tx).await {
Ok(()) => {}
Err(err) => {