begin work on adding search to albums page

This commit is contained in:
Drew Weymouth
2022-12-27 09:50:51 -08:00
parent d04a586cd6
commit fc858e1024
5 changed files with 180 additions and 12 deletions
+3
View File
@@ -2,6 +2,7 @@ package ui
import (
"context"
"fmt"
"image"
"supersonic/backend"
"supersonic/ui/widgets"
@@ -84,7 +85,9 @@ func (ag *AlbumGrid) doUpdateAlbumCard(albumIdx int, ac *widgets.AlbumCard) {
return
default:
if err == nil {
fmt.Println("setting image")
ac.Cover.SetImage(i)
ag.Refresh()
}
}
}(ctx)