File tree Expand file tree Collapse file tree 1 file changed +6
-10
lines changed
example/src/commonMain/kotlin Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -178,9 +178,9 @@ fun MainPage(
178178 ) {
179179 LazyColumn (
180180 modifier = Modifier
181- .nestedScroll(topAppBarScrollBehavior.nestedScrollConnection )
181+ .overScrollVertical( )
182182 .scrollEndHaptic()
183- .weight(1f ),
183+ .weight(0.5f ),
184184 contentPadding = PaddingValues (top = padding.calculateTopPadding())
185185 ) {
186186 item {
@@ -232,25 +232,21 @@ fun MainPage(
232232 }
233233 }
234234 if (! expanded) {
235- item(
236- key = " other"
237- ) {
235+ item {
238236 otherComponent()
239237 Spacer (modifier = Modifier .height(6 .dp))
240238 }
241239 }
242240 }
243241 LazyColumn (
244242 modifier = Modifier
245- .nestedScroll(topAppBarScrollBehavior.nestedScrollConnection )
243+ .overScrollVertical( )
246244 .scrollEndHaptic()
247245 .padding(end = 12 .dp, bottom = 12 .dp)
248- .weight(1f ),
246+ .weight(0.5f ),
249247 contentPadding = PaddingValues (top = padding.calculateTopPadding())
250248 ) {
251- item(
252- key = " text"
253- ) {
249+ item {
254250 textComponent()
255251 Spacer (modifier = Modifier .height(padding.calculateBottomPadding()))
256252 }
You can’t perform that action at this time.
0 commit comments