mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
fix: 番剧集数错误、合集最后一集不显示
This commit is contained in:
@@ -173,9 +173,9 @@ class _SeasonPanelState extends State<SeasonPanel> {
|
||||
bottom: MediaQuery.of(context).padding.bottom),
|
||||
child: Material(
|
||||
child: ScrollablePositionedList.builder(
|
||||
itemCount: episodes!.length,
|
||||
itemCount: episodes!.length + 1,
|
||||
itemBuilder: (BuildContext context, int index) {
|
||||
bool isLastItem = index == episodes!.length - 1;
|
||||
bool isLastItem = index == episodes!.length;
|
||||
bool isCurrentIndex = currentIndex == index;
|
||||
return isLastItem
|
||||
? SizedBox(
|
||||
|
||||
Reference in New Issue
Block a user