diff --git a/liana-gui/src/app/mod.rs b/liana-gui/src/app/mod.rs index a326f361..93cbb4e8 100644 --- a/liana-gui/src/app/mod.rs +++ b/liana-gui/src/app/mod.rs @@ -317,7 +317,7 @@ impl App { let current = &self.panels.current; let daemon = self.daemon.clone(); // These are the panels to update with the cache. - let mut panels = [(&mut self.panels.home, Menu::Home)]; + let mut panels = [(&mut self.panels.home as &mut dyn State, Menu::Home)]; let commands: Vec<_> = panels .iter_mut() .map(|(panel, menu)| {