* opt: unused layout

* mod: semantics

* opt: DanmakuMsg type

* opt: avoid cast

* opt: unnecessary_lambdas

* opt: use isEven

* opt: logger

* opt: invalid common page

* tweak

* opt: unify DynController
This commit is contained in:
My-Responsitories
2025-08-27 12:01:53 +08:00
committed by GitHub
parent 56ffc2781f
commit 5f8313901b
83 changed files with 551 additions and 545 deletions

View File

@@ -1,4 +1,5 @@
import 'package:PiliPlus/models_new/reply/pagination_reply.dart';
import 'package:PiliPlus/utils/extension.dart';
class ReplyCursor {
bool? isBegin;
@@ -41,7 +42,7 @@ class ReplyCursor {
mode: json['mode'] as int?,
modeText: json['mode_text'] as String?,
allCount: json['all_count'] as int?,
supportMode: (json['support_mode'] as List?)?.cast(),
supportMode: (json['support_mode'] as List?)?.fromCast(),
name: json['name'] as String?,
);
}