make artist image displayable in pop-up

This commit is contained in:
Drew Weymouth
2023-02-07 09:31:49 -08:00
parent 87ae3e940f
commit 9fd6508af0
7 changed files with 113 additions and 75 deletions
+2 -2
View File
@@ -14,8 +14,8 @@ type TappableImage struct {
OnTapped func()
}
func NewTappableImage() *TappableImage {
t := &TappableImage{}
func NewTappableImage(onTapped func()) *TappableImage {
t := &TappableImage{OnTapped: onTapped}
t.ExtendBaseWidget(t)
return t
}