1
0
mirror of https://github.com/taigrr/crocgui synced 2025-01-18 04:03:16 -08:00

small about fix

This commit is contained in:
Chris Howey 2021-02-20 14:25:16 -06:00
parent ebfac6f2e2
commit 2a63a91d6a
2 changed files with 4 additions and 2 deletions

View File

@ -3,6 +3,7 @@ package main
import (
_ "embed"
"net/url"
"strings"
"fyne.io/fyne/v2"
"fyne.io/fyne/v2/container"
@ -19,6 +20,8 @@ func parseURL(s string) *url.URL {
var longdesc string
func aboutTabItem() *container.TabItem {
longdesc = strings.ReplaceAll(longdesc, "<b>", "")
longdesc = strings.ReplaceAll(longdesc, "</b>", "")
aboutInfo := widget.NewLabel(longdesc)
aboutInfo.Wrapping = fyne.TextWrapWord
return container.NewTabItemWithIcon("About", theme.InfoIcon(), container.NewBorder(nil,

View File

@ -1,5 +1,4 @@
croc is a tool that allows any two computers to simply and securely transfer
files.
croc is a tool that allows any two computers to simply and securely transfer files.
<b>Features</b>
- allows <b>any two computers</b> to transfer data (using a relay)