refactor(surface): type surface actions on the message they carry
This commit is contained in:
parent
376f1b8850
commit
a8fe59f388
21 changed files with 194 additions and 181 deletions
|
|
@ -394,7 +394,7 @@ where
|
|||
{
|
||||
nav = nav
|
||||
.window_id_maybe(self.core().main_window_id())
|
||||
.on_surface_action(|m| crate::Action::Cosmic(crate::app::Action::Surface(m)))
|
||||
.on_surface_action(|action| crate::Action::Surface(action.flatten()))
|
||||
}
|
||||
let mut nav = nav
|
||||
.into_container()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue