mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-01 00:28:18 +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']) {
|
for (var i in res.data['data']['list']) {
|
||||||
if (_canAddRank(i)) {
|
if (_canAddRank(i)) {
|
||||||
list.add(HotVideoItemModel.fromJson(i));
|
list.add(HotVideoItemModel.fromJson(i));
|
||||||
final List? others = i['others'];
|
// final List? others = i['others'];
|
||||||
if (others != null && others.isNotEmpty) {
|
// if (others != null && others.isNotEmpty) {
|
||||||
for (var j in others) {
|
// for (var j in others) {
|
||||||
if (_canAddRank(j)) {
|
// if (_canAddRank(j)) {
|
||||||
list.add(HotVideoItemModel.fromJson(j));
|
// list.add(HotVideoItemModel.fromJson(j));
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return Success(list);
|
return Success(list);
|
||||||
|
|||||||
Reference in New Issue
Block a user