diff --git a/res/metadata.go b/res/metadata.go index 3aabe3cf..bd075933 100644 --- a/res/metadata.go +++ b/res/metadata.go @@ -9,6 +9,7 @@ const ( GithubURL = "https://github.com/dweymouth/supersonic" LatestReleaseURL = GithubURL + "/releases/latest" KofiURL = "https://ko-fi.com/dweymouth" + Copyright = "Copyright © 2022–2024 Drew Weymouth and contributors" ) var ( diff --git a/ui/dialogs/aboutdialog.go b/ui/dialogs/aboutdialog.go index fb1ecbe9..50932a26 100644 --- a/ui/dialogs/aboutdialog.go +++ b/ui/dialogs/aboutdialog.go @@ -61,7 +61,7 @@ func (a *AboutDialog) buildMainTabContainer(version string) *fyne.Container { title.Segments[0].(*widget.TextSegment).Style.SizeName = theme.SizeNameSubHeadingText title.Segments[0].(*widget.TextSegment).Style.Alignment = fyne.TextAlignCenter versionLbl := newCenterAlignLabel(fmt.Sprintf("version %s", version)) - copyright := newCenterAlignLabel("Copyright © 2022–2023 Drew Weymouth and contributors") + copyright := newCenterAlignLabel(res.Copyright) license := widget.NewRichTextWithText("GNU General Public License version 3 (GPL v3)") ts := license.Segments[0].(*widget.TextSegment) ts.Style.TextStyle.Bold = true