opt: parse sys msg (#1770)

This commit is contained in:
My-Responsitories
2025-12-08 23:06:46 +08:00
committed by GitHub
parent 773bdafec3
commit ff4f97de1a
5 changed files with 46 additions and 46 deletions

View File

@@ -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);