Align desktop initializer arguments with builders
This commit is contained in:
1 parent
166bac2a93
commit
18685da28b
6 files changed
+13
-13
No files matched your search
@@ -6,7 +6,5 @@ mod app;
|
||||
|
||||
fn main() {
|
||||
let attributes = WindowAttributes::default().with_inner_size(LogicalSize::new(420.0, 900.0));
|
||||
DesktopApp::<DesktopUiState>::run_with_attributes(attributes, |ui_state, rsc| {
|
||||
app::build(rsc, ui_state)
|
||||
});
|
||||
DesktopApp::<DesktopUiState>::run_with_attributes(attributes, app::build);
|
||||
}
|
||||
Reference in new issue
Block a user