This commit is contained in:
Jonas Kruckenberg 2022-11-17 18:14:52 +01:00
parent d5fa1c0397
commit e5b7d397f0
3 changed files with 5 additions and 5 deletions

View file

@ -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());