do not show others rank

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-12-04 11:18:17 +08:00
parent 2a55d4390a
commit 775e1aa97d

View File

@@ -919,14 +919,14 @@ class VideoHttp {
for (var i in res.data['data']['list']) {
if (_canAddRank(i)) {
list.add(HotVideoItemModel.fromJson(i));
final List? others = i['others'];
if (others != null && others.isNotEmpty) {
for (var j in others) {
if (_canAddRank(j)) {
list.add(HotVideoItemModel.fromJson(j));
}
}
}
// final List? others = i['others'];
// if (others != null && others.isNotEmpty) {
// for (var j in others) {
// if (_canAddRank(j)) {
// list.add(HotVideoItemModel.fromJson(j));
// }
// }
// }
}
}
return Success(list);