浏览代码

forgot to set ignoreCase to true

Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
rapterjet2004 4 月之前
父节点
当前提交
adea08c774

+ 3 - 0
.idea/inspectionProfiles/ktlint.xml

@@ -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" />

+ 1 - 1
app/src/main/java/com/nextcloud/talk/openconversations/adapters/OpenConversationsAdapter.kt

@@ -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)
             }
         }