Tweak search query thresholds
This commit is contained in:
@@ -63,6 +63,8 @@ internal class WikipediaRepositoryImpl(
|
||||
httpClient.dispatcher.cancelAll()
|
||||
}
|
||||
|
||||
if (query.length < 4) return@channelFlow
|
||||
|
||||
if (!::wikipediaService.isInitialized) return@channelFlow
|
||||
if (query.isBlank()) return@channelFlow
|
||||
|
||||
|
||||
Reference in New Issue
Block a user