1
0
mirror of https://github.com/garraflavatra/rolens.git synced 2025-01-18 13:07:58 +00:00

Moved Mac edit menu

This commit is contained in:
Romein van Buren 2023-01-20 16:28:36 +01:00
parent 544f7d6d8b
commit fff2c53f15
Signed by: romein
GPG Key ID: 0EFF8478ADDF6C49

View File

@ -41,14 +41,14 @@ func (a *App) Menu() *menu.Menu {
wailsRuntime.EventsEmit(a.ctx, "OpenHostsModal")
})
if runtime.GOOS == "darwin" {
appMenu.Append(menu.EditMenu())
}
helpMenu := appMenu.AddSubmenu("Help")
helpMenu.AddText("User guide", nil, func(cd *menu.CallbackData) {
wailsRuntime.BrowserOpenURL(a.ctx, "")
})
if runtime.GOOS == "darwin" {
appMenu.Append(menu.EditMenu())
}
return appMenu
}