fix(flutter): album/artist card tap (HitTestBehavior.opaque)

Same root cause as the playlist card fix in f65650f — GestureDetector
defers to children by default, so taps over the cover image area
(ServerImage / SVG fallback) didn't reliably propagate. Mark the
detector opaque so the entire card surface is tappable, not just the
text below the cover.
This commit is contained in:
2026-05-11 07:30:05 -04:00
parent f65650fb6d
commit d703fc27f8
2 changed files with 2 additions and 0 deletions
@@ -14,6 +14,7 @@ class AlbumCard extends StatelessWidget {
Widget build(BuildContext context) {
final fs = Theme.of(context).extension<FabledSwordTheme>()!;
return GestureDetector(
behavior: HitTestBehavior.opaque,
onTap: onTap,
child: SizedBox(
width: 140,
@@ -14,6 +14,7 @@ class ArtistCard extends StatelessWidget {
Widget build(BuildContext context) {
final fs = Theme.of(context).extension<FabledSwordTheme>()!;
return GestureDetector(
behavior: HitTestBehavior.opaque,
onTap: onTap,
child: SizedBox(
width: 140,