mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-15 05:31:42 +03:00
fix(core): window > create
endpoint
This commit is contained in:
parent
5b2700b964
commit
3f45c23a75
@ -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)?;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user