diff --git a/feature/alert/README.md b/feature/alert/README.md index d7a7608c89..2859c6745a 100644 --- a/feature/alert/README.md +++ b/feature/alert/README.md @@ -59,7 +59,8 @@ findNavController().handleResult( ) { } // Navigate to screen -findNavController(R.id.host_fragment).navigate( +findNavController(R.id.host_fragment).navigateSafely( + this, R.id.action_global_errorFragment, alertConfiguration { /* configuration */ }.toArgs(), ) diff --git a/feature/exit-form/README.md b/feature/exit-form/README.md index 46726c8b9c..40a1ccf377 100644 --- a/feature/exit-form/README.md +++ b/feature/exit-form/README.md @@ -54,7 +54,8 @@ findNavController().handleResult( ) { } // Navigate to screen -findNavController(R.id.host_fragment).navigate( +findNavController(R.id.host_fragment).navigateSafely( + this, R.id.action_global_refusalFragment, exitFormConfiguration { /* configuration */ }.toArgs(), )