mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-03-11 13:11:08 +00:00
rename vars
This commit is contained in:
parent
c38363b8cc
commit
034bfb44f6
@ -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…
x
Reference in New Issue
Block a user