Do not jump to top of the list when no search query present in story privacy.
This commit is contained in:
parent
a36f31c2d0
commit
cd8e07c102
1 changed files with 5 additions and 1 deletions
|
@ -119,7 +119,11 @@ abstract class BaseStoryRecipientSelectionFragment : Fragment(R.layout.stories_b
|
|||
|
||||
override fun onBeforeContactSelected(isFromUnknownSearchKey: Boolean, recipientId: Optional<RecipientId>, number: String?, callback: Consumer<Boolean>) {
|
||||
viewModel.addRecipient(recipientId.get())
|
||||
searchField.setText("")
|
||||
|
||||
if (searchField.text.isNotBlank()) {
|
||||
searchField.setText("")
|
||||
}
|
||||
|
||||
callback.accept(true)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue