Skip to content

Commit

Permalink
fix playlist list item not showing the correct state after adding a t…
Browse files Browse the repository at this point in the history
…rack
  • Loading branch information
Chaphasilor committed Nov 7, 2024
1 parent 775b1fc commit 1ac9149
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ class _AddToPlaylistTileState extends State<AddToPlaylistTile> {
?.playlistItemId;
itemIsIncluded = true;
});
return playlistItemId != null;
return true; // this is called before the state is updated
}
return false;
}
Expand Down

0 comments on commit 1ac9149

Please sign in to comment.