From 1e8277b0879a85adfe0423b39e8fa7ae6c29f1e3 Mon Sep 17 00:00:00 2001 From: Cloudburst <18114966+C10udburst@users.noreply.github.com> Date: Wed, 28 Dec 2022 18:41:50 +0100 Subject: [PATCH] [skip ci] Apply fixes from CodeFactor (#289) Co-authored-by: codefactor-io --- .../cloudstream3/ui/home/HomeParentItemAdapterPreview.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/lagradost/cloudstream3/ui/home/HomeParentItemAdapterPreview.kt b/app/src/main/java/com/lagradost/cloudstream3/ui/home/HomeParentItemAdapterPreview.kt index 19649574..45af0893 100644 --- a/app/src/main/java/com/lagradost/cloudstream3/ui/home/HomeParentItemAdapterPreview.kt +++ b/app/src/main/java/com/lagradost/cloudstream3/ui/home/HomeParentItemAdapterPreview.kt @@ -597,7 +597,7 @@ class HomeParentItemAdapterPreview( isVisible = availableWatchStatusTypes.second.contains(watch).also { anyVisible = anyVisible || it } - + isChecked = availableWatchStatusTypes.first.contains(watch) } }