fix subtitle

This commit is contained in:
2024-11-12 17:49:02 +08:00
parent 293040f374
commit 775ab471f5
2 changed files with 4 additions and 2 deletions

View File

@@ -92,7 +92,7 @@ class Comic {
Comic.fromJson(Map<String, dynamic> json, this.sourceKey)
: title = json["title"],
subtitle = json["subtitle"] ?? "",
subtitle = json["subtitle"] ?? json["subTitle"] ?? "",
cover = json["cover"],
id = json["id"],
tags = List<String>.from(json["tags"] ?? []),