Skip to content

Commit

Permalink
Change responsive to work better on Square devices (#1791)
Browse files Browse the repository at this point in the history
  • Loading branch information
yschimke authored Nov 6, 2023
1 parent eea2991 commit b5e6513
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ public object ScalingLazyColumnDefaults {
val screenWidthDp = configuration.screenWidthDp.toFloat()
val screenHeightDp = configuration.screenHeightDp.toFloat()
val padding = screenWidthDp * horizontalPaddingPercent
val topPaddingDp: Dp = if (firstItemIsFullWidth) {
val topPaddingDp: Dp = if (firstItemIsFullWidth && configuration.isScreenRound) {
calculateVerticalOffsetForChip(screenWidthDp, horizontalPaddingPercent)
} else {
32.dp
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b5e6513

Please sign in to comment.