Skip to content

Commit

Permalink
chore: little tidyup
Browse files Browse the repository at this point in the history
  • Loading branch information
Decodetalkers committed Aug 7, 2024
1 parent f0db933 commit 9e8abe5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ mod aximer;
mod launcher;
mod zbus_mpirs;

type LaLaShellIdAction = LayershellCustomActionsWithIdAndInfo<LauncherInfo>;
type LalaShellAction = LayershellCustomActionsWithInfo<LauncherInfo>;

pub fn main() -> Result<(), iced_layershell::Error> {
env_logger::builder().format_timestamp(None).init();

Expand Down Expand Up @@ -420,9 +423,9 @@ impl MultiApplication for LalaMusicBar {
self.launcher = Some(Launcher::new());
return Command::batch(vec![
Command::single(
LayershellCustomActionsWithIdAndInfo::new(
LaLaShellIdAction::new(
iced::window::Id::MAIN,
LayershellCustomActionsWithInfo::NewLayerShell((
LalaShellAction::NewLayerShell((
NewLayerShellSettings {
size: Some((500, 700)),
exclusize_zone: None,
Expand Down

0 comments on commit 9e8abe5

Please sign in to comment.