Fixed crash when creating new contact
This commit is contained in:
parent
e91e7d1954
commit
53683f6fa6
2 changed files with 4 additions and 1 deletions
|
@ -450,7 +450,7 @@ internal fun ContactEditorFragment.navigateToContact(contact: NativeContact) {
|
|||
findNavController().navigate(
|
||||
R.id.action_contactEditorFragment_to_detailContactFragment,
|
||||
bundle,
|
||||
getRightToLeftAnimationNavOptions(R.id.detailContactFragment, true)
|
||||
getRightToLeftAnimationNavOptions(R.id.masterContactsFragment, false)
|
||||
)
|
||||
}
|
||||
|
||||
|
|
|
@ -126,6 +126,9 @@
|
|||
android:name="SipUri"
|
||||
app:argType="string"
|
||||
app:nullable="true" />
|
||||
<action
|
||||
android:id="@+id/action_contactEditorFragment_to_detailContactFragment"
|
||||
app:destination="@id/contacts_nav_graph.xml" />
|
||||
</fragment>
|
||||
<include app:graph="@navigation/chat_nav_graph" />
|
||||
<include app:graph="@navigation/contacts_nav_graph" />
|
||||
|
|
Loading…
Reference in a new issue