Fix typo on NewTappableIcon function
This commit is contained in:
committed by
Drew Weymouth
parent
c19edccf80
commit
39b17abd7d
@@ -258,7 +258,7 @@ func NewGenreFilterSubsection(onChanged func([]string), initialSelectedGenres []
|
||||
)
|
||||
g.filterText = widget.NewEntry()
|
||||
g.filterText.SetPlaceHolder("Filter genres")
|
||||
i := NewTappbaleIcon(theme.ContentClearIcon())
|
||||
i := NewTappableIcon(theme.ContentClearIcon())
|
||||
i.NoPointerCursor = true
|
||||
i.OnTapped = func() { g.filterText.SetText("") }
|
||||
g.filterText.ActionItem = i
|
||||
|
||||
Reference in New Issue
Block a user