Skip to content

Commit

Permalink
Make BottomSheetNavigator's constructor @InternalVoyagerApi (#236)
Browse files Browse the repository at this point in the history
  • Loading branch information
osrl authored Oct 22, 2023
1 parent 626e4cb commit 1aef8ae
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 1aef8ae

Please sign in to comment.