fix(core): window > create endpoint

This commit is contained in:
Lucas Nogueira 2022-03-06 14:54:11 -08:00
parent 5b2700b964
commit 3f45c23a75

View File

@ -170,7 +170,7 @@ impl Cmd {
let label = options.label.clone();
let url = options.url.clone();
let mut builder = context.window.builder(label, url);
let mut builder = crate::window::Window::builder(&context.window, label, url);
builder.window_builder = <<R::Dispatcher as Dispatch>::WindowBuilder>::with_config(*options);
builder.build().map_err(crate::error::into_anyhow)?;