TP-63076 | added skipHalfExpanded as true (#10320)

This commit is contained in:
Shaurya Rehan
2024-04-05 18:35:01 +05:30
committed by GitHub
parent 21745a2487
commit 2a27bfe8fb
3 changed files with 8 additions and 3 deletions

View File

@@ -94,7 +94,10 @@ fun ComplaintListScreen(
val scope = rememberCoroutineScope()
val bottomSheetState =
rememberModalBottomSheetState(initialValue = ModalBottomSheetValue.Hidden)
rememberModalBottomSheetState(
initialValue = ModalBottomSheetValue.Hidden,
skipHalfExpanded = true
)
val openSheet = {
scope.launch { bottomSheetState.show() }

View File

@@ -138,7 +138,8 @@ fun LinkedAccountsScreen(
val bottomSheetState =
rememberModalBottomSheetState(
initialValue = ModalBottomSheetValue.Hidden,
confirmValueChange = { bottomSheetStateHolder.bottomSheetStateChange }
confirmValueChange = { bottomSheetStateHolder.bottomSheetStateChange },
skipHalfExpanded = true
)
val scope = rememberCoroutineScope()

View File

@@ -224,7 +224,8 @@ fun NaviPayOnboardingScreen(
val bottomSheetState =
rememberModalBottomSheetState(
initialValue = ModalBottomSheetValue.Hidden,
confirmValueChange = { bottomSheetStateHolder.bottomSheetStateChange }
confirmValueChange = { bottomSheetStateHolder.bottomSheetStateChange },
skipHalfExpanded = true
)
LaunchedEffect(key1 = bottomSheetStateHolder.showBottomSheet) {