From 8168084c9f3764ddb86f7050f2bda1dd415530bd Mon Sep 17 00:00:00 2001 From: Jan Skrasek Date: Tue, 14 May 2024 22:14:17 +0200 Subject: [PATCH] fixup demo --- demo/src/main/kotlin/dev/hrach/navigation/demo/NavHost.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/demo/src/main/kotlin/dev/hrach/navigation/demo/NavHost.kt b/demo/src/main/kotlin/dev/hrach/navigation/demo/NavHost.kt index 71ea792..5038e19 100644 --- a/demo/src/main/kotlin/dev/hrach/navigation/demo/NavHost.kt +++ b/demo/src/main/kotlin/dev/hrach/navigation/demo/NavHost.kt @@ -5,7 +5,7 @@ import androidx.navigation.NavHostController import androidx.navigation.compose.NavHost import androidx.navigation.compose.composable import dev.hrach.navigation.bottomsheet.BottomSheetNavigator -import dev.hrach.navigation.bottomsheet.ModalBottomSheetHost +import dev.hrach.navigation.bottomsheet.BottomSheetHost import dev.hrach.navigation.bottomsheet.bottomSheet import dev.hrach.navigation.modalsheet.ModalSheetHost import dev.hrach.navigation.modalsheet.ModalSheetNavigator @@ -35,5 +35,5 @@ internal fun NavHost( bottomSheet { BottomSheet(navController) } } ModalSheetHost(modalSheetNavigator) - ModalBottomSheetHost(bottomSheetNavigator) + BottomSheetHost(bottomSheetNavigator) }