chore: update libcosmic after reexports

This commit is contained in:
Ashley Wulber 2026-04-09 13:17:18 -04:00 committed by Jacob Kauffmann
parent 887901b323
commit bc9d118de0
4 changed files with 32 additions and 32 deletions

View file

@ -1,4 +1,4 @@
use cosmic::{iced::keyboard::Key, iced_core::keyboard::key::Named};
use cosmic::{iced::keyboard::Key, iced::core::keyboard::key::Named};
use std::collections::HashMap;
use crate::Action;

View file

@ -2,7 +2,7 @@
// SPDX-License-Identifier: GPL-3.0-only
use cosmic::{
action::{self, app},
action,
app::{Core, Settings, Task},
command::set_theme,
cosmic_config::{self, CosmicConfigEntry},
@ -1016,12 +1016,12 @@ impl Application for App {
}
}
fn style(&self) -> Option<cosmic::iced_core::theme::Style> {
fn style(&self) -> Option<cosmic::iced::core::theme::Style> {
// This ensures we have a solid background color even when using no content container
let theme = self.core.system_theme();
Some(cosmic::iced_core::theme::Style {
Some(cosmic::iced::core::theme::Style {
background_color: theme.cosmic().bg_color().into(),
icon_color: theme.cosmic().on_bg_color().into(),
text_color: theme.cosmic().on_bg_color().into(),

View file

@ -1,9 +1,8 @@
use cosmic::{
iced::{
futures::{self, SinkExt, Stream},
Subscription,
Subscription, stream,
},
iced_futures::stream,
};
use mpris_server::{
LoopStatus, Metadata, PlaybackRate, PlaybackStatus, PlayerInterface, Property, RootInterface,