mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
mod: color scheme
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -71,10 +71,12 @@ class _ListSheetContentState extends State<ListSheetContent>
|
||||
});
|
||||
}
|
||||
itemScrollController = _isList
|
||||
? List.filled(widget.season.sections.length, ItemScrollController())
|
||||
? List.generate(
|
||||
widget.season.sections.length, (_) => ItemScrollController())
|
||||
: [ItemScrollController()];
|
||||
reverse =
|
||||
_isList ? List.filled(widget.season.sections.length, false) : [false];
|
||||
reverse = _isList
|
||||
? List.generate(widget.season.sections.length, (_) => false)
|
||||
: [false];
|
||||
WidgetsBinding.instance.addPostFrameCallback((_) {
|
||||
itemScrollController[_index].jumpTo(index: currentIndex);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user