create separated wrapper for pin action

This commit is contained in:
yggverse 2024-11-10 10:07:16 +02:00
parent e47c22ac92
commit 33b22ca30a
11 changed files with 152 additions and 54 deletions

View file

@ -29,7 +29,6 @@ impl Bar {
action_page_history_back: SimpleAction,
action_page_history_forward: SimpleAction,
action_page_reload: SimpleAction,
action_page_pin: SimpleAction,
view: &TabView,
) -> Rc<Self> {
// Init components
@ -44,7 +43,6 @@ impl Bar {
action_page_history_back,
action_page_history_forward,
action_page_reload,
action_page_pin,
);
// Build result