From 3e81a4dd3469a03f7d010022676822d7e0717882 Mon Sep 17 00:00:00 2001 From: Jeremiah K <17190268+jeremiah-k@users.noreply.github.com> Date: Mon, 16 Jun 2025 11:53:14 -0500 Subject: [PATCH] Fix bottom navigation back stack accumulation (#2133) --- app/src/main/java/com/geeksville/mesh/ui/Main.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/app/src/main/java/com/geeksville/mesh/ui/Main.kt b/app/src/main/java/com/geeksville/mesh/ui/Main.kt index a0acd8535..a5a327fb5 100644 --- a/app/src/main/java/com/geeksville/mesh/ui/Main.kt +++ b/app/src/main/java/com/geeksville/mesh/ui/Main.kt @@ -201,7 +201,6 @@ fun MainScreen( // Pop up to the start destination of the graph to // avoid building up a large stack of destinations // on the back stack as users select items - destination.route popUpTo(navController.graph.findStartDestination().id) { saveState = true }