mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-29 23:05:55 +08:00
@@ -266,9 +266,7 @@ class _AudioPageState extends State<AudioPage> {
|
||||
_controller.index!) {
|
||||
_controller.index -= 1;
|
||||
}
|
||||
_controller.playlist!.removeAt(
|
||||
index,
|
||||
);
|
||||
playlist.removeAt(index);
|
||||
(context as Element)
|
||||
.markNeedsBuild();
|
||||
},
|
||||
@@ -379,9 +377,7 @@ class _AudioPageState extends State<AudioPage> {
|
||||
if (index < _controller.index!) {
|
||||
_controller.index -= 1;
|
||||
}
|
||||
_controller.playlist!.removeAt(
|
||||
index,
|
||||
);
|
||||
playlist.removeAt(index);
|
||||
(context as Element)
|
||||
.markNeedsBuild();
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user