mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-31 16:18:22 +08:00
feat: video download
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -57,7 +57,7 @@ class _MediaListPanelState extends State<MediaListPanel>
|
||||
final bvid = widget.bvid;
|
||||
final bvIndex = widget.mediaList.indexWhere((item) => item.bvid == bvid);
|
||||
_controller = ScrollController(
|
||||
initialScrollOffset: bvIndex == -1 ? 0 : bvIndex * 100.0 + 7,
|
||||
initialScrollOffset: bvIndex <= 0 ? 0 : bvIndex * 100.0 + 7,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user