mirror of
https://github.com/gokadzev/Musify.git
synced 2025-05-17 22:46:05 +08:00
fix(playlist_bar): add null check for playlistId before updating playlist info
This commit is contained in:
@ -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});
|
||||
|
Reference in New Issue
Block a user