Don't require deeplink ext target to be pinned (#9740)

This commit is contained in:
Ivan Iskandar 2023-07-20 06:54:06 +07:00 committed by GitHub
parent ac306547a0
commit 5c73045aa4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,6 +10,10 @@ class GlobalSearchScreenModel(
init { init {
extensionFilter = initialExtensionFilter extensionFilter = initialExtensionFilter
if (initialQuery.isNotBlank() || !initialExtensionFilter.isNullOrBlank()) { if (initialQuery.isNotBlank() || !initialExtensionFilter.isNullOrBlank()) {
if (extensionFilter != null) {
// we're going to use custom extension filter instead
setSourceFilter(SourceFilter.All)
}
search() search()
} }
} }