forgot to set ignoreCase to true

Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
This commit is contained in:
rapterjet2004 2024-11-21 07:50:31 -06:00
parent 6067f04b12
commit adea08c774
No known key found for this signature in database
GPG key ID: 3AA5FDFED7944099
2 changed files with 4 additions and 1 deletions

View file

@ -38,6 +38,9 @@
<option name="composableFile" value="true" />
<option name="previewFile" value="true" />
</inspection_tool>
<inspection_tool class="PreviewDeviceShouldUseNewSpec" enabled="true" level="WEAK WARNING" enabled_by_default="true">
<option name="composableFile" value="true" />
</inspection_tool>
<inspection_tool class="PreviewDimensionRespectsLimit" enabled="true" level="WARNING" enabled_by_default="true">
<option name="composableFile" value="true" />
<option name="previewFile" value="true" />

View file

@ -81,7 +81,7 @@ class OpenConversationsAdapter(val user: User, private val onClick: (OpenConvers
isFiltering = true
val newList = mutableListOf<OpenConversation>()
for (conversation in originalList) {
if (conversation.displayName.contains(text)) {
if (conversation.displayName.contains(text, true) || conversation.description!!.contains(text, true)) {
newList.add(conversation)
}
}