diff --git a/Sources/winui-swift/Menu/Submenu.swift b/Sources/winui-swift/Menu/Submenu.swift index 064fa9b..dad5237 100644 --- a/Sources/winui-swift/Menu/Submenu.swift +++ b/Sources/winui-swift/Menu/Submenu.swift @@ -22,7 +22,8 @@ public struct Submenu: MenuWidget { items.forEach { subItem.items.append($0) } }, pointer: MenuFlyoutSubItem.self, - subview: [MenuFlyoutItemBase?].self + subview: [MenuFlyoutItemBase?].self, + context: MenuContext.self ) var content: Body