mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
rename vars
This commit is contained in:
parent
c38363b8cc
commit
034bfb44f6
1 changed files with 4 additions and 4 deletions
|
|
@ -16,16 +16,16 @@ impl Browser {
|
||||||
pub fn new(
|
pub fn new(
|
||||||
app: >k::Application,
|
app: >k::Application,
|
||||||
connection: std::sync::Arc<sqlite::Connection>,
|
connection: std::sync::Arc<sqlite::Connection>,
|
||||||
width: i32,
|
default_width: i32,
|
||||||
height: i32,
|
default_height: i32,
|
||||||
) -> Browser {
|
) -> Browser {
|
||||||
// Init widget
|
// Init widget
|
||||||
let widget = widget::Browser::new(
|
let widget = widget::Browser::new(
|
||||||
app,
|
app,
|
||||||
header::new().widget.as_ref(), // @TODO
|
header::new().widget.as_ref(), // @TODO
|
||||||
main::new().widget.as_ref(), // @TODO
|
main::new().widget.as_ref(), // @TODO
|
||||||
width,
|
default_width,
|
||||||
height,
|
default_height,
|
||||||
);
|
);
|
||||||
|
|
||||||
// Connect actions
|
// Connect actions
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue