From 92176a91ad3a17f233f09f7d91f3bb662a20580f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20M=C4=9Bs=C3=AD=C4=8Dek?= Date: Thu, 16 May 2024 11:39:17 +0200 Subject: [PATCH] Update detekt file --- .../kotlin/app/futured/androidprojecttemplate/ui/NavGraph.kt | 5 ----- 1 file changed, 5 deletions(-) diff --git a/app/src/main/kotlin/app/futured/androidprojecttemplate/ui/NavGraph.kt b/app/src/main/kotlin/app/futured/androidprojecttemplate/ui/NavGraph.kt index 52c9542..51c58dc 100644 --- a/app/src/main/kotlin/app/futured/androidprojecttemplate/ui/NavGraph.kt +++ b/app/src/main/kotlin/app/futured/androidprojecttemplate/ui/NavGraph.kt @@ -1,6 +1,5 @@ package app.futured.androidprojecttemplate.ui -import androidx.activity.compose.LocalOnBackPressedDispatcherOwner import androidx.compose.runtime.Composable import androidx.compose.runtime.remember import androidx.navigation.NavHostController @@ -19,10 +18,6 @@ fun NavGraph( navController: NavHostController = rememberNavController(), navigation: NavRouter = remember { NavRouterImpl(navController) }, ) { - LocalOnBackPressedDispatcherOwner.current?.onBackPressedDispatcher?.let { - navController.navigateUp() - } - NavHost( navController = navController, startDestination = Destination.Home.route,