[#39] Case insensitive team name suggestions.
Some checks failed
continuous-integration/drone Build is failing
Some checks failed
continuous-integration/drone Build is failing
closes #39
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user