mirror of
https://github.com/nextcloud/talk-android
synced 2025-08-02 09:35:35 +01:00
show full conversation list when search text is empty
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
This commit is contained in:
parent
16613f3cd5
commit
93de317aa6
@ -73,6 +73,9 @@ class ListOpenConversationsActivity : BaseActivity() {
|
|||||||
if (!text.isNullOrBlank()) {
|
if (!text.isNullOrBlank()) {
|
||||||
openConversationsViewModel.updateSearchTerm(text.toString())
|
openConversationsViewModel.updateSearchTerm(text.toString())
|
||||||
openConversationsViewModel.fetchConversations()
|
openConversationsViewModel.fetchConversations()
|
||||||
|
} else {
|
||||||
|
openConversationsViewModel.updateSearchTerm("")
|
||||||
|
openConversationsViewModel.fetchConversations()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
initObservers()
|
initObservers()
|
||||||
|
Loading…
Reference in New Issue
Block a user