Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
T8RIN committed Jun 8, 2023
1 parent e307e20 commit bf854dd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ fun GradientEdge(
modifier = modifier
.background(
brush = Brush.verticalGradient(
0f to startColor, 1f to endColor
0f to startColor,
0.7f to startColor,
1f to endColor
)
)
)
Expand All @@ -32,7 +34,7 @@ fun GradientEdge(
modifier = modifier
.background(
brush = Brush.horizontalGradient(
0f to startColor, 1f to endColor
0f to startColor, 0.7f to startColor, 1f to endColor
)
)
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ fun availableHeight(expanded: Boolean, collapsed: Boolean = false): Dp {
.weight(1f)
.onSizeChanged {
with(density) {
fullHeight = it.height.toDp() - 20.dp
fullHeight = it.height.toDp() - 16.dp
}
}
)
Expand Down

0 comments on commit bf854dd

Please sign in to comment.