fix: filter reply

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-01-08 20:18:40 +08:00
parent 4d35dfe2f0
commit 5982fd312b
2 changed files with 16 additions and 16 deletions

View File

@@ -109,7 +109,7 @@ class ReplyHttp {
.hasMatch(mainListReply.upTop.content.message)) { .hasMatch(mainListReply.upTop.content.message)) {
mainListReply.clearUpTop(); mainListReply.clearUpTop();
} }
}
// replies // replies
if (mainListReply.replies.isNotEmpty) { if (mainListReply.replies.isNotEmpty) {
mainListReply.replies.removeWhere((item) { mainListReply.replies.removeWhere((item) {
@@ -126,6 +126,7 @@ class ReplyHttp {
return hasMatch; return hasMatch;
}); });
} }
}
return LoadingState.success(mainListReply); return LoadingState.success(mainListReply);
} else { } else {
return LoadingState.error( return LoadingState.error(

View File

@@ -133,7 +133,6 @@ class VideoHttp {
'bili-http-engine': 'cronet', 'bili-http-engine': 'cronet',
}), }),
); );
Utils.showCopyTextDialog(jsonEncode(res.data));
if (res.data['code'] == 0) { if (res.data['code'] == 0) {
List<RecVideoItemAppModel> list = []; List<RecVideoItemAppModel> list = [];
List<int> blackMidsList = GStorage.blackMidsList; List<int> blackMidsList = GStorage.blackMidsList;