mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-24 19:00:26 +01:00
Allow story search in forward fragment to be case insensitive.
This commit is contained in:
committed by
Greyson Parrelli
parent
02db5f74e9
commit
4b10ec8f02
@@ -111,7 +111,7 @@ open class ContactSearchPagedDataSourceRepository(
|
||||
}
|
||||
|
||||
open fun recipientNameContainsQuery(recipient: Recipient, query: String?): Boolean {
|
||||
return query.isNullOrBlank() || recipient.getDisplayName(context).contains(query)
|
||||
return query.isNullOrBlank() || recipient.getDisplayName(context).contains(query, ignoreCase = true)
|
||||
}
|
||||
|
||||
open fun myStoryContainsQuery(query: String): Boolean {
|
||||
@@ -120,6 +120,6 @@ open class ContactSearchPagedDataSourceRepository(
|
||||
}
|
||||
|
||||
val myStory = context.getString(R.string.Recipient_my_story)
|
||||
return myStory.contains(query)
|
||||
return myStory.contains(query, ignoreCase = true)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user