Remove debug output

This commit is contained in:
Lea Anthony 2020-12-21 07:19:20 +11:00
commit 719f4b5113
No known key found for this signature in database
GPG key ID: 33DAF7BB90A58405

View file

@ -13,7 +13,6 @@ import "C"
import (
"encoding/json"
"fmt"
"github.com/wailsapp/wails/v2/pkg/menu"
"strconv"
@ -198,7 +197,6 @@ func (c *Client) UpdateContextMenus(contextMenus *menu.ContextMenus) {
}
// Process the menu
contextMenusJSON, err := json.Marshal(contextMenus)
fmt.Printf("\n\nUPDATED CONTEXT MENUS:\n %+v\n\n", string(contextMenusJSON))
if err != nil {
c.app.logger.Error("Error processing updated Context Menus: %s", err.Error())
return