mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 03:06:59 +08:00
do not show others rank
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user