Skip to content

Commit 3df2e5f

Browse files
authored
[Test] Try fix ios duration not update
1 parent 41083b5 commit 3df2e5f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/util/audio_controller.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,8 @@ class AudioHandler extends GetxController {
190190
musicList.indexWhere((element) => element.extra == music.extra);
191191
if (index != -1) {
192192
if (index == _player.currentIndex) {
193-
await tryLazyLoadMusic(index, force: true);
193+
await replacePlayingMusic(musicList[index].info.defaultQuality!);
194+
// await tryLazyLoadMusic(index, force: true);
194195
} else {
195196
musicList[index].empty = true;
196197
}

0 commit comments

Comments
 (0)