From 72d9bda0e83632ecca96b657db7f1f0aa28c98d3 Mon Sep 17 00:00:00 2001 From: Alessandro Benetton Date: Sat, 14 Dec 2024 20:44:43 +0100 Subject: [PATCH] [feature/weebcentral_build_error] fix type in equality check --- Tranga/MangaConnectors/WeebCentral.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tranga/MangaConnectors/WeebCentral.cs b/Tranga/MangaConnectors/WeebCentral.cs index 0d35b21..6c08454 100644 --- a/Tranga/MangaConnectors/WeebCentral.cs +++ b/Tranga/MangaConnectors/WeebCentral.cs @@ -195,7 +195,7 @@ public class Weebcentral : MangaConnector var chapterNumber = chapterNumberMatch.Success ? chapterNumberMatch.Groups[1].Value : "-1"; return new Chapter(manga, null, null, chapterNumber, url, id); - }).Where(elem => elem.chapterNumber != "-1" && elem.url != "undefined").ToList(); + }).Where(elem => elem.chapterNumber != -1 && elem.url != "undefined").ToList(); ret.Reverse(); return ret;