remove boolext

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-05-30 22:19:32 +08:00
parent 3031d5e3b0
commit a260b1640a
55 changed files with 185 additions and 257 deletions

View File

@@ -68,7 +68,7 @@ class BangumiController extends CommonListController<
// 我的订阅
Future<void> queryBangumiFollow([bool isRefresh = true]) async {
if (isLogin.value.not || followLoading || (isRefresh.not && followEnd)) {
if (!isLogin.value || followLoading || (!isRefresh && followEnd)) {
return;
}
followLoading = true;
@@ -119,7 +119,7 @@ class BangumiController extends CommonListController<
Future<LoadingState<List<BangumiListItemModel>?>> customGetData() =>
BangumiHttp.bangumiList(
page: page,
indexType: tabType == HomeTabType.cinema ? 102 : null, // TODO: sort
indexType: tabType == HomeTabType.cinema ? 102 : null,
);
@override