xA: enforce internal icon from the start

This commit is contained in:
Přemysl Eric Janouch 2024-11-14 16:08:50 +01:00
parent 46be4836df
commit 977b073b58
Signed by: p
GPG Key ID: A0420B94F92B9493
1 changed files with 1 additions and 0 deletions

View File

@ -1490,6 +1490,7 @@ func main() {
a := app.New() a := app.New()
a.Settings().SetTheme(&customTheme{}) a.Settings().SetTheme(&customTheme{})
a.SetIcon(resourceIconNormal)
wWindow = a.NewWindow(projectName) wWindow = a.NewWindow(projectName)
wWindow.Resize(fyne.NewSize(640, 480)) wWindow.Resize(fyne.NewSize(640, 480))