mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
implement recent bookmarks menu item
This commit is contained in:
parent
c335207b28
commit
9e86e9b29f
13 changed files with 155 additions and 60 deletions
|
|
@ -13,14 +13,15 @@ pub struct Header {
|
|||
}
|
||||
|
||||
impl Header {
|
||||
// Construct
|
||||
// Constructors
|
||||
|
||||
pub fn new(
|
||||
(browser_action, window_action): (&Rc<BrowserAction>, &Rc<WindowAction>),
|
||||
profile: &Rc<Profile>,
|
||||
tab_view: &TabView,
|
||||
) -> Self {
|
||||
// Init components
|
||||
let bar = Bar::new((browser_action, window_action), profile, tab_view);
|
||||
let bar = Rc::new(Bar::new((browser_action, window_action), profile, tab_view));
|
||||
|
||||
// Return new struct
|
||||
Self {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue