Skip to content

Commit 764d263

Browse files
Fix menu migration code (#3480)
1 parent 763fc86 commit 764d263

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/content/docs/start/migrate/from-tauri-1.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -676,6 +676,7 @@ tauri::Builder::default()
676676
.check("toggle", "Toggle")
677677
.icon("show-app", "Show App", app.default_window_icon().cloned().unwrap())
678678
.build()?;
679+
app.set_menu(menu);
679680
Ok(())
680681
})
681682
```

0 commit comments

Comments
 (0)