Remove fading edges from pull down scaffold
This commit is contained in:
parent
650590a6b5
commit
ebb7a99882
@ -218,10 +218,6 @@ fun PullDownScaffold(
|
|||||||
val insets = WindowInsets.systemBars.asPaddingValues()
|
val insets = WindowInsets.systemBars.asPaddingValues()
|
||||||
Box(
|
Box(
|
||||||
modifier = modifier
|
modifier = modifier
|
||||||
.verticalFadingEdges(
|
|
||||||
top = insets.calculateTopPadding(),
|
|
||||||
amount = 0.85f
|
|
||||||
)
|
|
||||||
.nestedScroll(nestedScrollConnection)
|
.nestedScroll(nestedScrollConnection)
|
||||||
.offset { IntOffset(0, offsetY.value.toInt()) },
|
.offset { IntOffset(0, offsetY.value.toInt()) },
|
||||||
contentAlignment = Alignment.TopCenter
|
contentAlignment = Alignment.TopCenter
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user