From 58763708f7888899ced9fe79a2d9a90666010631 Mon Sep 17 00:00:00 2001 From: Blatzar <46196380+Blatzar@users.noreply.github.com> Date: Wed, 8 Feb 2023 10:20:48 +0100 Subject: [PATCH] remove parenthesis --- app/src/main/java/com/lagradost/cloudstream3/MainAPI.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/lagradost/cloudstream3/MainAPI.kt b/app/src/main/java/com/lagradost/cloudstream3/MainAPI.kt index 5ccaa762..36b1c83d 100644 --- a/app/src/main/java/com/lagradost/cloudstream3/MainAPI.kt +++ b/app/src/main/java/com/lagradost/cloudstream3/MainAPI.kt @@ -183,9 +183,9 @@ object APIHolder { .parsedSafe()?.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