reduce rebuild

Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-03-17 14:38:10 +08:00
parent 8a8aa6c1e0
commit d6579b29ae
23 changed files with 254 additions and 214 deletions

View File

@@ -279,7 +279,7 @@ class _EpisodePanelState extends State<EpisodePanel>
) {
final isCurrTab = tabIndex == widget.initialTabIndex;
return KeepAliveWrapper(
builder: (context) => CustomScrollView(
child: CustomScrollView(
reverse: _isReversed[tabIndex],
physics: const AlwaysScrollableScrollPhysics(),
controller: _itemScrollController[tabIndex],