Minor change.
This commit is contained in:
parent
a9cca25e5c
commit
c625e114ad
|
@ -265,9 +265,6 @@ class __QueueState extends State<_Queue> {
|
||||||
return queue.name == 'Queue'
|
return queue.name == 'Queue'
|
||||||
? ReorderableListView(
|
? ReorderableListView(
|
||||||
onReorder: (oldIndex, newIndex) {
|
onReorder: (oldIndex, newIndex) {
|
||||||
if (newIndex > oldIndex) {
|
|
||||||
newIndex -= 1;
|
|
||||||
}
|
|
||||||
context
|
context
|
||||||
.read<AudioPlayerNotifier>()
|
.read<AudioPlayerNotifier>()
|
||||||
.reorderPlaylist(oldIndex, newIndex);
|
.reorderPlaylist(oldIndex, newIndex);
|
||||||
|
|
|
@ -790,8 +790,6 @@ class EpisodeGrid extends StatelessWidget {
|
||||||
if (!isDownloaded) {
|
if (!isDownloaded) {
|
||||||
await _requestDownload(context,
|
await _requestDownload(context,
|
||||||
episode: episodes[index]);
|
episode: episodes[index]);
|
||||||
// downloader
|
|
||||||
// .startTask(episodes[index]);
|
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
if (menuList.contains(5))
|
if (menuList.contains(5))
|
||||||
|
|
Loading…
Reference in New Issue