[#39] Case insensitive team name suggestions.
Some checks failed
continuous-integration/drone Build is failing

closes #39
This commit is contained in:
2023-05-25 17:37:30 +02:00
parent 34e64e6e50
commit fcb8c12454

View File

@@ -361,7 +361,7 @@ class CounterViewModel @Inject constructor(
if(currentInput.isNotEmpty()) if(currentInput.isNotEmpty())
{ {
filtered = filtered.filter { it.contains(currentInput) } filtered = filtered.filter { it.contains(currentInput, ignoreCase = true) }
} }
return filtered.sorted().sortedBy { it.length }.take(10) return filtered.sorted().sortedBy { it.length }.take(10)