cleanup
This commit is contained in:
parent
d5fa1c0397
commit
e5b7d397f0
3 changed files with 5 additions and 5 deletions
|
@ -2,7 +2,7 @@ use anyhow::ensure;
|
|||
use tauri_sys::window;
|
||||
|
||||
pub async fn create_window() -> anyhow::Result<()> {
|
||||
let win = window::WebviewWindow::new("foo", ());
|
||||
let win = window::WebviewWindowBuilder::new("foo").build()?;
|
||||
|
||||
ensure!(win.is_visible().await?);
|
||||
// ensure!(win.label() == "foo".to_string());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue