fix MAL search novel filter (#6279)

(cherry picked from commit 8acce011b507db125f71e1dff5cdd76fc5be914c)
This commit is contained in:
Henrik 2021-11-25 18:55:52 +01:00 committed by Jobobby04
parent 4bfa2779ff
commit f4f898c5c5

View File

@ -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") }
}
}
}