Fix typo on NewTappableIcon function

This commit is contained in:
Michael Manganiello
2023-06-12 18:45:21 -07:00
committed by Drew Weymouth
parent c19edccf80
commit 39b17abd7d
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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