mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-30 23:58:13 +08:00
add static2Scroll option
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -62,15 +62,14 @@ abstract final class ReplyGrpc {
|
||||
),
|
||||
MainListReply.fromBuffer,
|
||||
);
|
||||
if (res.isSuccess) {
|
||||
final mainListReply = res.data;
|
||||
if (res case Success(:final response)) {
|
||||
// keyword filter
|
||||
if (mainListReply.hasUpTop() && needRemoveGrpc(mainListReply.upTop)) {
|
||||
mainListReply.clearUpTop();
|
||||
if (response.hasUpTop() && needRemoveGrpc(response.upTop)) {
|
||||
response.clearUpTop();
|
||||
}
|
||||
|
||||
if (mainListReply.replies.isNotEmpty) {
|
||||
mainListReply.replies.removeWhere((item) {
|
||||
if (response.replies.isNotEmpty) {
|
||||
response.replies.removeWhere((item) {
|
||||
final hasMatch = needRemoveGrpc(item);
|
||||
if (!hasMatch && item.replies.isNotEmpty) {
|
||||
item.replies.removeWhere(needRemoveGrpc);
|
||||
|
||||
Reference in New Issue
Block a user