add focus navigation to playlists list view

This commit is contained in:
Drew Weymouth
2024-02-16 09:15:49 -08:00
parent f789296944
commit bc113e404d
2 changed files with 19 additions and 18 deletions
+1 -1
View File
@@ -191,7 +191,7 @@ func NewGenreList(sorting widgets.ListHeaderSort) *GenreList {
r := NewGenreListRow(a.columnsLayout)
r.OnTapped = func() { a.onGoToGenre(r.Item) }
r.OnFocusNeighbor = func(up bool) {
a.list.FocusNeighbor(r.ListItemID, up)
a.list.FocusNeighbor(r.ItemID(), up)
}
return r
},