fix(docs): splashscreen guide using dropped Params syntax

This commit is contained in:
Lucas Nogueira
2021-08-11 14:52:47 -03:00
parent 5f6e135f23
commit 178164b259

View File

@@ -89,10 +89,10 @@ fn main() {
// ...
// After it's done, close the splashscreen and display the main window
if let Some(splashscreen) = app.get_window(&"splashscreen".into()) {
if let Some(splashscreen) = app.get_window("splashscreen") {
splashscreen.close().unwrap();
}
app.get_window(&"main".into()).unwrap().show().unwrap();
app.get_window("main").unwrap().show().unwrap();
Ok(())
})
.run(tauri::generate_context!())