summaryrefslogtreecommitdiff
path: root/internal/gui/icon.go
blob: 8085cc960b7464d351502a4b55d4bc8501f6862f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package gui

import (
	_ "embed"
	"fyne.io/fyne/v2"
)

//go:embed totalrecall_256.png
var iconData []byte

// GetAppIcon returns the application icon as a Fyne resource
func GetAppIcon() fyne.Resource {
	return &fyne.StaticResource{
		StaticName:    "totalrecall.png",
		StaticContent: iconData,
	}
}