From 4a8c3a3f92cf1c0f5534c05d26ccd08822101779 Mon Sep 17 00:00:00 2001 From: ShootingStarDragons Date: Wed, 14 Aug 2024 02:13:08 +0859 Subject: [PATCH] fix: hidden tips still shown when not hidden tips --- lala_bar/src/main.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lala_bar/src/main.rs b/lala_bar/src/main.rs index 0c5fd30..0330482 100644 --- a/lala_bar/src/main.rs +++ b/lala_bar/src/main.rs @@ -314,6 +314,12 @@ impl LalaMusicBar { } } + if self.hidden_notifications.is_empty() && self.hidenid.is_some() { + commands.push(Command::single(Action::Window(WindowAction::Close( + self.hidenid.unwrap(), + )))); + } + commands.push(Command::perform(async {}, |_| Message::CheckOutput)); Command::batch(commands)