add ctrl/cmd+F shortcut to focus search entry
This commit is contained in:
@@ -119,6 +119,12 @@ func (g *GenrePage) Save() SavedPage {
|
||||
}
|
||||
}
|
||||
|
||||
var _ Searchable = (*AlbumsPage)(nil)
|
||||
|
||||
func (g *GenrePage) SearchWidget() fyne.Focusable {
|
||||
return g.searcher.Entry
|
||||
}
|
||||
|
||||
func (a *GenrePage) onPlayAlbum(albumID string) {
|
||||
if a.OnPlayAlbum != nil {
|
||||
a.OnPlayAlbum(albumID, 0)
|
||||
|
||||
Reference in New Issue
Block a user