Tweak search query thresholds

This commit is contained in:
MM20
2022-12-21 19:35:33 +01:00
parent 840aa9b4c4
commit 41a0157983
4 changed files with 8 additions and 5 deletions
@@ -38,7 +38,7 @@ internal class CalendarRepositoryImpl(
) : CalendarRepository {
override fun search(query: String): Flow<ImmutableList<CalendarEvent>> {
if (query.isBlank() || query.length < 3) {
if (query.isBlank() || query.length < 2) {
return flow {
emit(persistentListOf())
}