From f7214d6f9f893dd51b3a6530420fafba25bf4440 Mon Sep 17 00:00:00 2001 From: Jarne Demeulemeester Date: Thu, 26 Dec 2024 11:51:40 +0100 Subject: [PATCH] fix: pop back stack when navigating to film graph --- app/phone/src/main/java/dev/jdtech/jellyfin/NavigationRoot.kt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/phone/src/main/java/dev/jdtech/jellyfin/NavigationRoot.kt b/app/phone/src/main/java/dev/jdtech/jellyfin/NavigationRoot.kt index a51e3006c8..3841b5d01e 100644 --- a/app/phone/src/main/java/dev/jdtech/jellyfin/NavigationRoot.kt +++ b/app/phone/src/main/java/dev/jdtech/jellyfin/NavigationRoot.kt @@ -122,9 +122,7 @@ fun NavigationRoot( LoginScreen( onSuccess = { navController.safeNavigate(FilmGraphRoute) { - popUpTo(FilmGraphRoute) { - inclusive = false - } + popUpTo(0) launchSingleTop = true } },