fix MAL search novel filter (#6279)

This commit is contained in:
Henrik 2021-11-25 18:55:52 +01:00 committed by GitHub
parent fe9ea50356
commit 8acce011b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -76,7 +76,7 @@ class MyAnimeListApi(private val client: OkHttpClient, interceptor: MyAnimeListI
async { getMangaDetails(id) } async { getMangaDetails(id) }
} }
.awaitAll() .awaitAll()
.filter { trackSearch -> trackSearch.publishing_type != "novel" } .filter { trackSearch -> !trackSearch.publishing_type.contains("novel") }
} }
} }
} }