Merge branch 'fix-audioAutoReplay'

This commit is contained in:
guozhigq
2024-02-03 23:46:34 +08:00

View File

@ -147,8 +147,8 @@ class VideoPlayerServiceHandler extends BaseAudioHandler with SeekHandler {
processingState: AudioProcessingState.idle,
playing: false,
));
_item.removeLast();
if (_item.isNotEmpty) {
_item.removeLast();
setMediaItem(_item.last);
}
if (_item.isEmpty) {