Skip to content

Commit

Permalink
Fix code warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
andydotxyz committed Oct 16, 2024
1 parent d9d2ede commit 9659333
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/icon/fdo.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func (data *fdoApplicationData) IconName() string {
return data.iconName
}

// IconPath returns the path of the icon that an fdo app wishes to use
// Icon returns the path of the icon that an fdo app wishes to use
func (data *fdoApplicationData) Icon(theme string, size int) fyne.Resource {
if data.iconCache != nil {
return data.iconCache
Expand Down Expand Up @@ -112,7 +112,7 @@ func (data *fdoApplicationData) Run(env []string) error {
return cmd.Start()
}

func (data fdoApplicationData) mainCategory() string {
func (data *fdoApplicationData) mainCategory() string {
if len(data.Categories()) == 0 {
return fallbackCategory
}
Expand Down

0 comments on commit 9659333

Please sign in to comment.