refactor: remove dead code and unused imports

This commit is contained in:
Alexander Bachmann 2025-02-10 13:15:23 +01:00 • committed by GitHub
parent 0f4667fc47
commit a046692241
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 4 additions and 39 deletions

View file

@ -11,14 +11,12 @@ use cosmic::{
token::subscription::{activation_token_subscription, TokenRequest, TokenUpdate},
},
cctk::sctk::reexports::calloop,
cosmic_theme::Spacing,
iced::{
platform_specific::shell::wayland::commands::popup::{destroy_popup, get_popup},
window, Length, Subscription,
},
iced_runtime::core::layout::Limits,
theme,
widget::{container, text},
widget::container,
Element, Task,
};
use cosmic_time::{anim, chain, id, once_cell::sync::Lazy, Instant, Timeline};
@ -185,10 +183,6 @@ impl cosmic::Application for CosmicA11yApplet {
}
fn view_window(&self, _id: window::Id) -> Element<Message> {
let Spacing {
space_xxs, space_s, ..
} = theme::active().cosmic().spacing;
let toggle = padded_control(
anim!(
//toggler

View file

@ -11,9 +11,9 @@ use cosmic::{
iced_futures::stream,
};
use cosmic_dbus_a11y::*;
use std::{fmt::Debug, hash::Hash};
use std::fmt::Debug;
use tokio::sync::mpsc::{UnboundedReceiver, UnboundedSender};
use zbus::{Connection, Result};
use zbus::Connection;
#[derive(Debug, Clone)]
pub enum Update {