Add API to control online search

This commit is contained in:
MM20
2024-01-28 21:35:36 +01:00
parent d7340c485b
commit 426473e397
20 changed files with 44 additions and 36 deletions
@@ -111,7 +111,7 @@ internal class AppShortcutRepositoryImpl(
return flags
}
override fun search(query: String): Flow<ImmutableList<AppShortcut>> {
override fun search(query: String, allowNetwork: Boolean): Flow<ImmutableList<AppShortcut>> {
if (query.length < 3) {
return flowOf(persistentListOf())
}