mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-22 20:18:36 +00:00
Show mention picker after only typing @.
This commit is contained in:
@@ -14,7 +14,7 @@ class MentionsPickerRepositoryV2(
|
|||||||
private val recipients: RecipientTable = SignalDatabase.recipients
|
private val recipients: RecipientTable = SignalDatabase.recipients
|
||||||
) {
|
) {
|
||||||
fun search(query: String, members: List<RecipientId>): Single<List<Recipient>> {
|
fun search(query: String, members: List<RecipientId>): Single<List<Recipient>> {
|
||||||
return if (query.isBlank() || members.isEmpty()) {
|
return if (members.isEmpty()) {
|
||||||
Single.just(emptyList())
|
Single.just(emptyList())
|
||||||
} else {
|
} else {
|
||||||
Single
|
Single
|
||||||
|
|||||||
Reference in New Issue
Block a user