From 5411e05cee1e8e7217b30ebbf0280b33c0df63fa Mon Sep 17 00:00:00 2001 From: ShootingStarDragons Date: Thu, 29 Aug 2024 23:43:50 +0859 Subject: [PATCH] chore: do not delete id during update --- lala_bar/src/main.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/lala_bar/src/main.rs b/lala_bar/src/main.rs index 0f2af0c..4e11027 100644 --- a/lala_bar/src/main.rs +++ b/lala_bar/src/main.rs @@ -842,7 +842,6 @@ impl MultiApplication for LalaMusicBar { Message::ToggleLauncher => { if self.launcher.is_some() { if let Some(id) = self.launcherid { - self.launcher.take(); return Command::single(Action::Window(WindowAction::Close(id))); } return Command::none();