mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 11:28:06 +00:00
Fixed order when adding new contact from history
This commit is contained in:
parent
da707dda4b
commit
7f5a9763e7
1 changed files with 2 additions and 2 deletions
|
|
@ -106,8 +106,6 @@ class NewContactFragment : GenericFragment() {
|
|||
binding.lifecycleOwner = viewLifecycleOwner
|
||||
binding.viewModel = viewModel
|
||||
|
||||
viewModel.findFriendByRefKey("")
|
||||
|
||||
val addressToAdd = sharedViewModel.sipAddressToAddToNewContact
|
||||
if (addressToAdd.isNotEmpty()) {
|
||||
Log.i("$TAG Pre-filling new contact form with SIP address [$addressToAdd]")
|
||||
|
|
@ -118,6 +116,8 @@ class NewContactFragment : GenericFragment() {
|
|||
}
|
||||
}
|
||||
|
||||
viewModel.findFriendByRefKey("")
|
||||
|
||||
binding.setBackClickListener {
|
||||
showAbortConfirmationDialog()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue