mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-13 07:55:18 +00:00
chore: fix not alternative source not working
This commit is contained in:
parent
9190af92ef
commit
8ff90bafd7
@ -122,7 +122,8 @@ class CustomPlayer extends Player {
|
|||||||
|
|
||||||
Future<void> insert(int index, Media media) async {
|
Future<void> insert(int index, Media media) async {
|
||||||
await add(media);
|
await add(media);
|
||||||
await move(state.playlist.medias.length, index);
|
await Future.delayed(const Duration(milliseconds: 100));
|
||||||
|
await move(state.playlist.medias.length - 1, index);
|
||||||
}
|
}
|
||||||
|
|
||||||
Future<void> setAudioNormalization(bool normalize) async {
|
Future<void> setAudioNormalization(bool normalize) async {
|
||||||
|
Loading…
Reference in New Issue
Block a user