Skip to content

Commit

Permalink
spotify button is not clickable when the spotify link does not exist
Browse files Browse the repository at this point in the history
  • Loading branch information
apoleon33 committed Jan 2, 2024
1 parent cb891be commit b8eac02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/albumCard.dart
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class _AlbumCardState extends State<AlbumCard> {
List genres = result['genre'];
setState(() {
cover = Image.network(
result['image']['uri'],
result['image'],
fit: BoxFit.fitWidth,
);
name = result['name'];
Expand Down Expand Up @@ -180,7 +180,7 @@ class _AlbumCardState extends State<AlbumCard> {
width: 18,
height: 18,
),
onPressed: () {},
onPressed: null,
label: const Text("Listen on Spotify"),
),
],
Expand Down

0 comments on commit b8eac02

Please sign in to comment.