feat: finishing of M0

This commit is contained in:
hugo committed 2026-04-04 08:10:05 +02:00
1 parent 897577a369
commit fd744573dd
84 files changed
+143204 -85

No files matched your search

+4
View File
@@ -4,6 +4,10 @@ use muda::{Menu, MenuEvent, MenuItem, PredefinedMenuItem, Submenu};
use crate::app::Message;
/// Build the native menu bar with standard application menus.
///
/// On macOS, also calls `init_for_nsapp()` to register the menu with AppKit.
/// This requires an active NSApplication, so it will silently fail in
/// test contexts without one (muda returns an error that we discard).
pub fn build_menu_bar() -> Menu {
let menu = Menu::new();