Skip to content

Commit

Permalink
[Test] Try fix ios duration not update
Browse files Browse the repository at this point in the history
  • Loading branch information
canxin121 authored May 15, 2024
1 parent 41083b5 commit 3df2e5f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/util/audio_controller.dart
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,8 @@ class AudioHandler extends GetxController {
musicList.indexWhere((element) => element.extra == music.extra);
if (index != -1) {
if (index == _player.currentIndex) {
await tryLazyLoadMusic(index, force: true);
await replacePlayingMusic(musicList[index].info.defaultQuality!);
// await tryLazyLoadMusic(index, force: true);
} else {
musicList[index].empty = true;
}
Expand Down

0 comments on commit 3df2e5f

Please sign in to comment.