Skip to content

Commit

Permalink
removed some logs
Browse files Browse the repository at this point in the history
  • Loading branch information
matryer committed Mar 13, 2021
1 parent 9104403 commit b0bd4ed
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions app/menu_parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ package main
import (
"context"
"fmt"
"log"
"path/filepath"

"github.com/matryer/xbar/pkg/plugins"
"github.com/wailsapp/wails/v2/pkg/menu"
Expand Down Expand Up @@ -72,15 +70,11 @@ func (m MenuParser) ParseMenuItem(ctx context.Context, item *plugins.Item) *menu
menuItem.FontSize = defaultMenuFontSize
}
menuItem.RGBA = item.Params.Color

log.Println("item:", filepath.Base(item.Plugin.Command), "i:", item.Params.Image, "ti:", item.Params.TemplateImage)

// Check for template image
if item.Params.TemplateImage != "" {
menuItem.Image = item.Params.TemplateImage
// get template images working on all macOS versions
menuItem.MacTemplateImage = true
log.Println("menuItem.MacTemplateImage = true")
}
menuItem.MacAlternate = item.Params.Alternate
if item.Params.Dropdown == false {
Expand Down

0 comments on commit b0bd4ed

Please sign in to comment.