mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-27 03:28:40 +00:00
@@ -69,13 +69,15 @@ class _DownloadPanelState extends State<DownloadPanel> {
|
|||||||
@override
|
@override
|
||||||
void initState() {
|
void initState() {
|
||||||
super.initState();
|
super.initState();
|
||||||
WidgetsBinding.instance.addPostFrameCallback((_) {
|
if (widget.index != -1) {
|
||||||
_listController.jumpToItem(
|
WidgetsBinding.instance.addPostFrameCallback((_) {
|
||||||
index: widget.index,
|
_listController.jumpToItem(
|
||||||
scrollController: widget.scrollController,
|
index: widget.index,
|
||||||
alignment: 0,
|
scrollController: widget.scrollController,
|
||||||
);
|
alignment: 0,
|
||||||
});
|
);
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@override
|
@override
|
||||||
|
|||||||
Reference in New Issue
Block a user