show What's New dialog when launching updated version

This commit is contained in:
Drew Weymouth
2023-11-06 17:59:35 -08:00
parent 7e8f0328ff
commit b83387e29c
7 changed files with 121 additions and 15 deletions
+2 -2
View File
@@ -66,8 +66,8 @@ func (a *AboutDialog) buildMainTabContainer(version string) *fyne.Container {
ts := license.Segments[0].(*widget.TextSegment)
ts.Style.TextStyle.Bold = true
ts.Style.Alignment = fyne.TextAlignCenter
ghUrl, _ := url.Parse("https://github.com/dweymouth/supersonic")
kofiUrl, _ := url.Parse("https://ko-fi.com/dweymouth")
ghUrl, _ := url.Parse(res.GithubURL)
kofiUrl, _ := url.Parse(res.KofiURL)
githubKofi := container.NewCenter(
container.New(&layouts.HboxCustomPadding{DisableThemePad: true, ExtraPad: -10},
widget.NewHyperlink("Github page", ghUrl),