mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
implement separated mods for navigation widgets
This commit is contained in:
parent
2e8d907c22
commit
2d9eec9b02
15 changed files with 401 additions and 194 deletions
|
|
@ -55,13 +55,13 @@ impl Page {
|
|||
|
||||
// Init components
|
||||
let content = Arc::new(Content::new(action_page_open.clone()));
|
||||
let navigation = Arc::new(Navigation::new(
|
||||
let navigation = Navigation::new_arc(
|
||||
action_tab_page_navigation_base.clone(),
|
||||
action_tab_page_navigation_history_back.clone(),
|
||||
action_tab_page_navigation_history_forward.clone(),
|
||||
action_tab_page_navigation_reload.clone(),
|
||||
action_update.clone(),
|
||||
));
|
||||
);
|
||||
let widget = Widget::new_arc(
|
||||
action_page_open.clone(),
|
||||
&name, // ID
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue