mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-29 06:45:54 +08:00
opt: parse sys msg (#1770)
This commit is contained in:
committed by
GitHub
parent
773bdafec3
commit
ff4f97de1a
@@ -25,7 +25,7 @@ class TimelineResult {
|
||||
isToday: json['is_today'] as int?,
|
||||
);
|
||||
|
||||
void operator +(TimelineResult other) {
|
||||
void addAll(TimelineResult other) {
|
||||
if (dateTs == other.dateTs) {
|
||||
if (other.episodes case final list?) {
|
||||
(episodes ??= <Episode>[]).addAll(list);
|
||||
|
||||
Reference in New Issue
Block a user