chore: format for 2024 edition
This commit is contained in:
parent
8cf372c9b9
commit
0aa518984e
57 changed files with 196 additions and 199 deletions
|
|
@ -2,22 +2,22 @@
|
|||
pub mod token;
|
||||
|
||||
use crate::{
|
||||
Application, Element, Renderer,
|
||||
app::iced_settings,
|
||||
cctk::sctk,
|
||||
iced::{
|
||||
self,
|
||||
self, Color, Length, Limits, Rectangle,
|
||||
alignment::{Horizontal, Vertical},
|
||||
widget::Container,
|
||||
window, Color, Length, Limits, Rectangle,
|
||||
window,
|
||||
},
|
||||
iced_widget,
|
||||
theme::{self, system_dark, system_light, Button, THEME},
|
||||
theme::{self, Button, THEME, system_dark, system_light},
|
||||
widget::{
|
||||
self,
|
||||
autosize::{self, autosize, Autosize},
|
||||
autosize::{self, Autosize, autosize},
|
||||
layer_container,
|
||||
},
|
||||
Application, Element, Renderer,
|
||||
};
|
||||
pub use cosmic_panel_config;
|
||||
use cosmic_panel_config::{CosmicPanelBackground, PanelAnchor, PanelSize};
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@ use crate::iced;
|
|||
use crate::iced_futures::futures;
|
||||
use cctk::sctk::reexports::calloop;
|
||||
use futures::{
|
||||
channel::mpsc::{unbounded, UnboundedReceiver},
|
||||
SinkExt, StreamExt,
|
||||
channel::mpsc::{UnboundedReceiver, unbounded},
|
||||
};
|
||||
use iced::Subscription;
|
||||
use iced_futures::stream;
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ use sctk::{
|
|||
activation::{ActivationHandler, ActivationState},
|
||||
registry::{ProvidesRegistryState, RegistryState},
|
||||
};
|
||||
use wayland_client::{globals::registry_queue_init, Connection, QueueHandle};
|
||||
use wayland_client::{Connection, QueueHandle, globals::registry_queue_init};
|
||||
|
||||
struct AppData {
|
||||
exit: bool,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue