From 1aef8aef7616e1c94b20a83faf70ce0322a58528 Mon Sep 17 00:00:00 2001 From: Osman Saral Date: Sun, 22 Oct 2023 03:22:01 +0300 Subject: [PATCH] Make BottomSheetNavigator's constructor @InternalVoyagerApi (#236) --- .../voyager/navigator/bottomSheet/BottomSheetNavigator.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/voyager-bottom-sheet-navigator/src/commonMain/kotlin/cafe/adriel/voyager/navigator/bottomSheet/BottomSheetNavigator.kt b/voyager-bottom-sheet-navigator/src/commonMain/kotlin/cafe/adriel/voyager/navigator/bottomSheet/BottomSheetNavigator.kt index 87dbb04c..91384caf 100644 --- a/voyager-bottom-sheet-navigator/src/commonMain/kotlin/cafe/adriel/voyager/navigator/bottomSheet/BottomSheetNavigator.kt +++ b/voyager-bottom-sheet-navigator/src/commonMain/kotlin/cafe/adriel/voyager/navigator/bottomSheet/BottomSheetNavigator.kt @@ -23,6 +23,7 @@ import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.Shape import androidx.compose.ui.unit.Dp import androidx.compose.ui.unit.dp +import cafe.adriel.voyager.core.annotation.InternalVoyagerApi import cafe.adriel.voyager.core.screen.Screen import cafe.adriel.voyager.core.stack.Stack import cafe.adriel.voyager.navigator.CurrentScreen @@ -98,7 +99,7 @@ public fun BottomSheetNavigator( } @OptIn(ExperimentalMaterialApi::class) -public class BottomSheetNavigator internal constructor( +public class BottomSheetNavigator @InternalVoyagerApi constructor( private val navigator: Navigator, private val sheetState: ModalBottomSheetState, private val coroutineScope: CoroutineScope