forked from recloudstream/cloudstream
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 ->
|
.parsedSafe<AniSearch>()?.results?.find { media ->
|
||||||
val matchingYears = year == null || media.releaseDate == year
|
val matchingYears = year == null || media.releaseDate == year
|
||||||
val matchingTitles =
|
val matchingTitles =
|
||||||
(media.title?.isMatchingTitles(mainTitle) == true || media.title?.isMatchingTitles(
|
media.title?.isMatchingTitles(mainTitle) == true || media.title?.isMatchingTitles(
|
||||||
secondaryTitle
|
secondaryTitle
|
||||||
) == true)
|
) == true
|
||||||
|
|
||||||
val matchingTypes = types?.any { it.name.equals(media.type, true) } == true
|
val matchingTypes = types?.any { it.name.equals(media.type, true) } == true
|
||||||
matchingTitles && matchingTypes && matchingYears
|
matchingTitles && matchingTypes && matchingYears
|
||||||
|
|
Loading…
Reference in a new issue