mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
remove parenthesis
This commit is contained in:
parent
b08608d31a
commit
58763708f7
1 changed files with 2 additions and 2 deletions
|
@ -183,9 +183,9 @@ object APIHolder {
|
|||
.parsedSafe<AniSearch>()?.results?.find { media ->
|
||||
val matchingYears = year == null || media.releaseDate == year
|
||||
val matchingTitles =
|
||||
(media.title?.isMatchingTitles(mainTitle) == true || media.title?.isMatchingTitles(
|
||||
media.title?.isMatchingTitles(mainTitle) == true || media.title?.isMatchingTitles(
|
||||
secondaryTitle
|
||||
) == true)
|
||||
) == true
|
||||
|
||||
val matchingTypes = types?.any { it.name.equals(media.type, true) } == true
|
||||
matchingTitles && matchingTypes && matchingYears
|
||||
|
|
Loading…
Reference in a new issue