move to list fork
This commit is contained in:
@@ -212,7 +212,6 @@ func NewGenreList(sorting widgets.ListHeaderSort) *GenreList {
|
||||
},
|
||||
func(id widget.ListItemID, item fyne.CanvasObject) {
|
||||
row := item.(*GenreListRow)
|
||||
a.list.SetItemForID(id, row)
|
||||
if row.Item != a.genres[id] {
|
||||
row.EnsureUnfocused()
|
||||
row.ListItemID = id
|
||||
|
||||
@@ -354,7 +354,6 @@ func NewPlaylistList(initialSort widgets.ListHeaderSort) *PlaylistList {
|
||||
row := item.(*PlaylistListRow)
|
||||
if row.PlaylistID != a.playlists[id].ID {
|
||||
row.EnsureUnfocused()
|
||||
a.list.SetItemForID(id, row)
|
||||
row.ListItemID = id
|
||||
row.PlaylistID = a.playlists[id].ID
|
||||
row.nameLabel.Text = a.playlists[id].Name
|
||||
|
||||
@@ -279,7 +279,6 @@ func NewRadioList(nowPlayingIDPtr *string) *RadioList {
|
||||
},
|
||||
func(id widget.ListItemID, item fyne.CanvasObject) {
|
||||
row := item.(*RadioListRow)
|
||||
a.list.SetItemForID(id, row)
|
||||
changed := false
|
||||
if row.Item != a.radios[id] {
|
||||
row.EnsureUnfocused()
|
||||
|
||||
Reference in New Issue
Block a user