From 4be17569ba966ebed4e6eed53c7f44e5256c9a62 Mon Sep 17 00:00:00 2001 From: Sad Ellie Date: Wed, 14 Feb 2024 22:53:51 +0300 Subject: [PATCH] Fix SettingsNavigation transitions --- .../unitto/feature/settings/navigation/SettingsNavigation.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/feature/settings/src/main/java/com/sadellie/unitto/feature/settings/navigation/SettingsNavigation.kt b/feature/settings/src/main/java/com/sadellie/unitto/feature/settings/navigation/SettingsNavigation.kt index b620ae10..3c6b1d85 100644 --- a/feature/settings/src/main/java/com/sadellie/unitto/feature/settings/navigation/SettingsNavigation.kt +++ b/feature/settings/src/main/java/com/sadellie/unitto/feature/settings/navigation/SettingsNavigation.kt @@ -23,6 +23,7 @@ import androidx.navigation.NavGraphBuilder import androidx.navigation.NavHostController import androidx.navigation.navDeepLink import com.sadellie.unitto.core.ui.model.DrawerItem +import com.sadellie.unitto.core.ui.unittoComposable import com.sadellie.unitto.core.ui.unittoNavigation import com.sadellie.unitto.core.ui.unittoStackedComposable import com.sadellie.unitto.feature.settings.SettingsRoute @@ -67,7 +68,7 @@ fun NavGraphBuilder.settingGraph( navDeepLink { uriPattern = "app://com.sadellie.unitto/$graph" } ) ) { - unittoStackedComposable(start) { + unittoComposable(start) { SettingsRoute( openDrawer = openDrawer, navControllerAction = navController::navigate