WIP replace png icons - heart icon doesn't theme

This commit is contained in:
Drew Weymouth
2024-01-06 10:25:08 -03:00
committed by Natalí Paura
parent 407b5f2780
commit b041602899
31 changed files with 171 additions and 148 deletions
+1 -2
View File
@@ -1,7 +1,6 @@
package widgets
import (
"github.com/dweymouth/supersonic/res"
"github.com/dweymouth/supersonic/ui/theme"
"fyne.io/fyne/v2"
@@ -18,7 +17,7 @@ func NewFavoriteButton(onTapped func()) *FavoriteButton {
f := &FavoriteButton{
Button: widget.Button{
OnTapped: onTapped,
Icon: res.ResHeartOutlineInvertPng,
Icon: theme.NotFavoriteIcon,
},
}
f.ExtendBaseWidget(f)