Skip to content

Commit

Permalink
Remove new line from version string
Browse files Browse the repository at this point in the history
  • Loading branch information
ubavic committed Dec 7, 2024
1 parent 3be4963 commit fd27788
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/gui/about.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (
"fmt"
"net/http"
"net/url"
"strings"
"time"

"fyne.io/fyne/v2"
Expand All @@ -16,6 +17,8 @@ import (
)

func showAboutBox(win fyne.Window, version string) func() {
version = strings.TrimSpace(version)

verLabel := widget.NewLabelWithStyle(t("about.version")+": "+version, fyne.TextAlignLeading, fyne.TextStyle{Italic: true})
moreLabel := widget.NewLabel(t("about.moreAboutProgram"))
url, _ := url.Parse("https://github.com/ubavic/bas-celik")
Expand Down

0 comments on commit fd27788

Please sign in to comment.