diff --git a/lib/widgets/playlist_bar.dart b/lib/widgets/playlist_bar.dart index b5f5cf3d..02700632 100644 --- a/lib/widgets/playlist_bar.dart +++ b/lib/widgets/playlist_bar.dart @@ -85,7 +85,9 @@ class PlaylistBar extends StatelessWidget { ), ), ).then((isPlaylistUpdated) { - if (isPlaylistUpdated != null && isPlaylistUpdated) { + if (playlistId != null && + isPlaylistUpdated != null && + isPlaylistUpdated) { getPlaylistInfoForWidget( playlistId, ).then((result) => {updatedPlaylist = result});