refactor: remove dead code and unused imports
This commit is contained in:
parent
0f4667fc47
commit
a046692241
4 changed files with 4 additions and 39 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue