Updated on 2026-08-14
This commit is contained in:
parent
0ebe5e385f
commit
0eab4907a2
4 changed files with 15 additions and 43 deletions
|
|
@ -407,7 +407,6 @@ private inline fun BaseScaffoldWithMarkets(
|
|||
sheetContainerColor = backgroundColor.value,
|
||||
scaffoldState = scaffoldState,
|
||||
sheetPeekHeight = peekHeight,
|
||||
sheetTonalElevation = 8.dp,
|
||||
sheetShadowElevation = 8.dp,
|
||||
sheetShape = TangemTheme.shapes.bottomSheetLarge,
|
||||
sheetContent = {
|
||||
|
|
@ -645,7 +644,7 @@ private fun BottomSheetStateEffects(
|
|||
val systemUiController = rememberSystemUiController()
|
||||
val navigationBarColor = TangemTheme.colors.background.primary
|
||||
|
||||
LaunchedEffect(Unit) {
|
||||
LaunchedEffect(navigationBarColor) {
|
||||
delay(timeMillis = 100)
|
||||
when (bottomSheetState.currentValue) {
|
||||
TangemSheetValue.Hidden,
|
||||
|
|
@ -660,7 +659,7 @@ private fun BottomSheetStateEffects(
|
|||
}
|
||||
}
|
||||
|
||||
LaunchedEffect(key1 = bottomSheetState.targetValue, navigationBarColor) {
|
||||
LaunchedEffect(bottomSheetState.targetValue, navigationBarColor) {
|
||||
when (bottomSheetState.targetValue) {
|
||||
TangemSheetValue.Hidden,
|
||||
TangemSheetValue.Expanded,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue