From 5c73045aa48e5c6866f392d317283c2db6f8cd75 Mon Sep 17 00:00:00 2001 From: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com> Date: Thu, 20 Jul 2023 06:54:06 +0700 Subject: [PATCH] Don't require deeplink ext target to be pinned (#9740) --- .../ui/browse/source/globalsearch/GlobalSearchScreenModel.kt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/globalsearch/GlobalSearchScreenModel.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/globalsearch/GlobalSearchScreenModel.kt index 944c28f17..33c715768 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/globalsearch/GlobalSearchScreenModel.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/globalsearch/GlobalSearchScreenModel.kt @@ -10,6 +10,10 @@ class GlobalSearchScreenModel( init { extensionFilter = initialExtensionFilter if (initialQuery.isNotBlank() || !initialExtensionFilter.isNullOrBlank()) { + if (extensionFilter != null) { + // we're going to use custom extension filter instead + setSourceFilter(SourceFilter.All) + } search() } }