mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-07-24 04:20:12 +08:00
tweaks (#1142)
* 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:
committed by
GitHub
parent
56ffc2781f
commit
5f8313901b
@@ -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?,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user