Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Catch up to Interact with support for sub-menu images #22

Merged
merged 1 commit into from
Apr 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ let package = Package(
dependencies: [
.package(path: "MacResources"),
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0"),
.package(url: "https://github.com/inseven/interact.git", .upToNextMajor(from: "2.20.1")),
.package(url: "https://github.com/inseven/interact.git", .upToNextMajor(from: "2.21.1")),
.package(url: "https://github.com/inseven/licensable.git", .upToNextMajor(from: "0.0.1")),
.package(url: "https://github.com/tribalworldwidelondon/CassowarySwift.git", from: "2.0.0"),
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ public class CollectionViewContainer<Element: Hashable, Content: View>: NSView,
return menuItem
case .separator:
return NSMenuItem.separator()
case .menu(let title, let menuItems):
case .menu(let title, _, let menuItems):
let menuItem = NSMenuItem(title: title, action: nil, keyEquivalent: "")
menuItem.submenu = contextMenu(for: menuItems)
return menuItem
Expand Down