feat: support subtext for title
This commit is contained in:
parent
dfba1ceafc
commit
126244ba52
5 changed files with 81 additions and 30 deletions
7
util.go
7
util.go
|
|
@ -106,3 +106,10 @@ func convertPercent(value string) float64 {
|
|||
}
|
||||
return float64(v) / 100
|
||||
}
|
||||
|
||||
func isFalse(flag *bool) bool {
|
||||
if flag != nil && !*flag {
|
||||
return true
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue