refactor: fix all unused parameter / variable warnings

This commit is contained in:
5684185+vsariola@users.noreply.github.com
2025-06-21 10:33:08 +03:00
parent a601b98b74
commit 289bfb0605
5 changed files with 13 additions and 15 deletions

View File

@ -206,7 +206,7 @@ func (b *Clickable) Update(gtx layout.Context) (widget.Click, bool) {
return b.update(b, gtx)
}
func (b *Clickable) update(t event.Tag, gtx layout.Context) (widget.Click, bool) {
func (b *Clickable) update(_ event.Tag, gtx layout.Context) (widget.Click, bool) {
for len(b.history) > 0 {
c := b.history[0]
if c.End.IsZero() || gtx.Now.Sub(c.End) < 1*time.Second {

View File

@ -37,7 +37,6 @@ type ScrollTableStyle struct {
ColumnTitleHeight unit.Dp
CellWidth unit.Dp
CellHeight unit.Dp
element func(gtx C, x, y int) D
}
func NewScrollTable(table tracker.Table, vertList, horizList tracker.List) *ScrollTable {

View File

@ -51,7 +51,6 @@ type (
filePathString tracker.String
noteEvents []tracker.NoteEvent
execChan chan func()
preferences Preferences
*tracker.Model