fix toggle column visibility bug with 0 play count tracks

This commit is contained in:
Drew Weymouth
2023-02-18 20:30:58 -08:00
parent 5a352e3c6e
commit afe37609ea
2 changed files with 41 additions and 63 deletions
-15
View File
@@ -113,18 +113,3 @@ func (l *ListHeader) createOnChangedCallbk(colNum int) func(bool) {
}
}
}
type colVisibleToggle struct {
widget.Check
}
func newColVisibleToggle(colNum int, colName string, visibilities []bool, onChanged func(bool)) *colVisibleToggle {
c := &colVisibleToggle{
Check: widget.Check{
Text: colName,
OnChanged: onChanged,
},
}
c.ExtendBaseWidget(c)
return c
}