mostly working now, except for track result action, and results ranking

This commit is contained in:
Drew Weymouth
2023-11-05 14:07:52 -08:00
parent 17df4d780e
commit 155ee877e3
3 changed files with 116 additions and 24 deletions
+6 -1
View File
@@ -21,6 +21,12 @@ type SearchEntry struct {
func NewSearchEntry() *SearchEntry {
sf := &SearchEntry{}
sf.ExtendBaseWidget(sf)
sf.Init()
return sf
}
// For use only by extending widgets
func (sf *SearchEntry) Init() {
sf.PlaceHolder = "Search"
sf.ActionItem = NewClearTextButton(func() {
sf.SetText("")
@@ -34,7 +40,6 @@ func NewSearchEntry() *SearchEntry {
}
debounceFunc()
}
return sf
}
func (s *SearchEntry) TypedKey(e *fyne.KeyEvent) {