diff --git a/app/src/main/java/it/danieleverducci/ojo/ui/AddStreamFragment.java b/app/src/main/java/it/danieleverducci/ojo/ui/AddStreamFragment.java index 13481a1..6a66925 100644 --- a/app/src/main/java/it/danieleverducci/ojo/ui/AddStreamFragment.java +++ b/app/src/main/java/it/danieleverducci/ojo/ui/AddStreamFragment.java @@ -57,7 +57,7 @@ public class AddStreamFragment extends Fragment { // Back to first fragment NavHostFragment.findNavController(AddStreamFragment.this) - .navigate(R.id.action_SecondFragment_to_FirstFragment); + .popBackStack(); } }); }