mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
follow new construction protocol
This commit is contained in:
parent
c03bef9f15
commit
1db706aa5b
7 changed files with 25 additions and 30 deletions
|
|
@ -31,8 +31,8 @@ impl Browser {
|
|||
) -> Browser {
|
||||
// Init components
|
||||
// let db = db::Browser::new(connection);
|
||||
let header = header::Header::new();
|
||||
let main = main::Main::new();
|
||||
let header = Arc::new(header::Header::new());
|
||||
let main = Arc::new(main::Main::new());
|
||||
|
||||
let widget = ApplicationWindow::builder()
|
||||
.application(app)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue