feat(ui): 更新品牌启动页与选集交互
This commit is contained in:
1 parent
4778ce2c75
commit
c1cb7d1c11
87 files changed
+919
-552
No files matched your search
@@ -18,6 +18,9 @@ class CatalogController extends ChangeNotifier {
|
||||
|
||||
HomeFeed feed = const HomeFeed();
|
||||
bool loading = false;
|
||||
|
||||
/// 第一次首页请求结束后为 true。之后的重试不再回到开屏。
|
||||
bool settled = false;
|
||||
String? error;
|
||||
|
||||
List<Drama> get dramas => feed.dramas;
|
||||
@@ -36,6 +39,7 @@ class CatalogController extends ChangeNotifier {
|
||||
error = 'catalogError';
|
||||
} finally {
|
||||
loading = false;
|
||||
settled = true;
|
||||
notifyListeners();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user