File tree 1 file changed +4
-9
lines changed
composeApp/src/commonMain/kotlin/com/jetbrains/kmpapp/screens/list 1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -70,15 +70,10 @@ private fun ObjectGrid(
70
70
LazyVerticalGrid (
71
71
columns = GridCells .Adaptive (180 .dp),
72
72
// TODO simplify padding after https://issuetracker.google.com/issues/365052672 is fixed
73
- modifier = modifier.fillMaxSize()
74
- .padding(
75
- WindowInsets .safeDrawing
76
- .only(WindowInsetsSides .Start + WindowInsetsSides .End )
77
- .asPaddingValues()
78
- ),
79
- contentPadding = WindowInsets .safeDrawing
80
- .only(WindowInsetsSides .Bottom + WindowInsetsSides .Top )
81
- .asPaddingValues(),
73
+ modifier = modifier
74
+ .fillMaxSize()
75
+ .padding(WindowInsets .safeDrawing.only(WindowInsetsSides .Horizontal ).asPaddingValues()),
76
+ contentPadding = WindowInsets .safeDrawing.only(WindowInsetsSides .Vertical ).asPaddingValues(),
82
77
) {
83
78
items(objects, key = { it.objectID }) { obj ->
84
79
ObjectFrame (
You can’t perform that action at this time.
0 commit comments