mirror of
https://github.com/kodjodevf/mangayomi.git
synced 2026-05-23 03:22:17 +00:00
Add Copilot suggested change (2/3)
https://github.com/kodjodevf/mangayomi/pull/714#discussion_r3139743018 Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
518b484a69
commit
519eb9d589
1 changed files with 2 additions and 1 deletions
|
|
@ -107,7 +107,8 @@ Future<dynamic> updateMangaDetail(
|
|||
final newChapters = <Chapter>[];
|
||||
|
||||
for (final chap in chaps) {
|
||||
final url = chap.url!.trim();
|
||||
final url = chap.url?.trim();
|
||||
if (url == null || url.isEmpty) continue;
|
||||
final existing = existingByUrl[url];
|
||||
|
||||
if (existing == null) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue