From 82810f06e181838ca34eef4dab6ca2e571ebbcfe Mon Sep 17 00:00:00 2001 From: Daniele Date: Thu, 14 Oct 2021 16:54:59 +0200 Subject: [PATCH] Fixed navigation --- .../main/java/it/danieleverducci/ojo/ui/AddStreamFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } }); }