Skip to content

Commit

Permalink
Improve version display in About dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
yktoo committed May 11, 2020
1 parent a6c4f96 commit fb3582d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/player/main-window.go
Original file line number Diff line number Diff line change
Expand Up @@ -527,10 +527,11 @@ func (w *MainWindow) about() {
return
}
dlg.SetLogoIconName(config.AppMetadata.Icon)
dlg.SetProgramName(fmt.Sprintf("%s %s", config.AppMetadata.Name, config.AppMetadata.Version))
dlg.SetProgramName(config.AppMetadata.Name)
dlg.SetComments(fmt.Sprintf("Release date: %s", config.AppMetadata.BuildDate))
dlg.SetCopyright(config.AppMetadata.Copyright)
dlg.SetLicense(config.AppMetadata.License)
dlg.SetVersion(config.AppMetadata.Version)
dlg.SetWebsite(config.AppMetadata.URL)
dlg.SetWebsiteLabel(config.AppMetadata.URLLabel)
dlg.SetTransientFor(w.window)
Expand Down

0 comments on commit fb3582d

Please sign in to comment.