Skip to content

Commit

Permalink
Made changes to prevent #283
Browse files Browse the repository at this point in the history
  • Loading branch information
anandnet committed Oct 1, 2024
1 parent 40b7454 commit cfcdc4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/services/audio_handler.dart
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ class MyAudioHandler extends BaseAudioHandler with GetxServiceMixin {
final bool restoreSession = extras['restoreSession'] ?? false;
isSongLoading = true;
if (_playList.children.isNotEmpty) {
await _playList.removeRange(0, 1);
await _playList.clear();
}

mediaItem.add(currentSong);
Expand Down

0 comments on commit cfcdc4e

Please sign in to comment.