feat(following): 收藏页改为紧凑布局并去掉重复续播横幅

This commit is contained in:
Vicky authored and trae-solo-agent committed 2026-10-30 22:53:18 +08:00
1 parent fd2ba0bf43
commit c5b94633f1
3 files changed
+147 -78

No files matched your search

+2 -5
View File
@@ -1,4 +1,5 @@
// Author: fruit.com.cn
// 职责:追剧收藏与观看历史切换、数据刷新、管理和续播入口。
import 'dart:async';
@@ -39,7 +40,7 @@ class FollowingPage extends StatefulWidget {
final FavoriteController favoriteController;
final int historyRequest;
/// 当前是否为首页选中的 tab;重新可见时刷新观看历史,保证横幅是最新进度。
/// 当前是否为首页选中的 tab;重新可见时刷新观看历史,保证记录是最新进度。
final bool visible;
@override
@@ -157,7 +158,6 @@ class _FollowingPageState extends State<FollowingPage> {
FollowingKeepAliveTab(
child: FollowingFavoritesGrid(
controller: widget.favoriteController,
history: _history,
selection: FollowingFavoriteSelection(
editing: _editing,
selected: _selected,
@@ -165,9 +165,6 @@ class _FollowingPageState extends State<FollowingPage> {
),
scrollController: _favoriteScroll,
onGoHome: widget.onGoHome,
onContinueRecord: (record) => unawaited(
_openHistory(context, _history, record),
),
),
),
FollowingKeepAliveTab(