Add API to control online search
This commit is contained in:
+1
-1
@@ -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())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user