From 8acce011b507db125f71e1dff5cdd76fc5be914c Mon Sep 17 00:00:00 2001 From: Henrik <22085664+henrik9999@users.noreply.github.com> Date: Thu, 25 Nov 2021 18:55:52 +0100 Subject: [PATCH] fix MAL search novel filter (#6279) --- .../kanade/tachiyomi/data/track/myanimelist/MyAnimeListApi.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/data/track/myanimelist/MyAnimeListApi.kt b/app/src/main/java/eu/kanade/tachiyomi/data/track/myanimelist/MyAnimeListApi.kt index ba1141231..0a43f506e 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/data/track/myanimelist/MyAnimeListApi.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/data/track/myanimelist/MyAnimeListApi.kt @@ -76,7 +76,7 @@ class MyAnimeListApi(private val client: OkHttpClient, interceptor: MyAnimeListI async { getMangaDetails(id) } } .awaitAll() - .filter { trackSearch -> trackSearch.publishing_type != "novel" } + .filter { trackSearch -> !trackSearch.publishing_type.contains("novel") } } } }