Skip to content

Commit

Permalink
Fix build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
leaanthony committed Jan 17, 2025
1 parent be8159d commit 8ba623f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions v3/examples/window-menu/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ var assets embed.FS

func main() {
app := application.New(application.Options{
Name: "Window Menu Demo",
Name: "Window MenuBar Demo",
Description: "A demo of menu bar toggling",
Assets: application.AssetOptions{
Handler: application.BundledAssetFileServer(assets),
Expand All @@ -38,7 +38,7 @@ func main() {

// Create window with menu
app.NewWebviewWindowWithOptions(application.WebviewWindowOptions{
Title: "Window Menu Demo",
Title: "Window MenuBar Demo",
Width: 800,
Height: 600,
Windows: application.WindowsWindow{
Expand Down
1 change: 0 additions & 1 deletion v3/pkg/application/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ func (c *Context) ContextMenuData() string {
}
return str
}
}

func (c *Context) withClickedMenuItem(menuItem *MenuItem) *Context {
c.data[clickedMenuItem] = menuItem
Expand Down

0 comments on commit 8ba623f

Please sign in to comment.