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 {
extensionFilter = initialExtensionFilter
if (initialQuery.isNotBlank() || !initialExtensionFilter.isNullOrBlank()) {
if (extensionFilter != null) {
// we're going to use custom extension filter instead
setSourceFilter(SourceFilter.All)
}
search()
}
}