Skip to content

Commit 5d96be3

Browse files
authored
Fix syntax error in menu example (#3499)
1 parent f1897a1 commit 5d96be3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/docs/learn/window-menu.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ fn main() {
280280
.setup(|app| {
281281
let menu_image = Image::from_bytes(include_bytes!("../icons/menu.png")).unwrap();
282282
let file_menu = SubmenuBuilder::new(app, "File")
283-
.submenu_icon(menu_image)) // Optional: Add an icon to the submenu
283+
.submenu_icon(menu_image) // Optional: Add an icon to the submenu
284284
.text("open", "Open")
285285
.text("quit", "Quit")
286286
.build()?;

0 commit comments

Comments
 (0)