Inline the scroll state.
This commit is contained in:
parent
4fa30f384d
commit
f8a16f2ea3
4 changed files with 4 additions and 18 deletions
|
|
@ -68,14 +68,11 @@ fun PreferenceView(
|
|||
)
|
||||
},
|
||||
content = {
|
||||
val scrollState = rememberScrollState()
|
||||
Column(
|
||||
modifier = Modifier
|
||||
.padding(it)
|
||||
.consumeWindowInsets(it)
|
||||
.verticalScroll(
|
||||
state = scrollState,
|
||||
)
|
||||
.verticalScroll(state = rememberScrollState())
|
||||
) {
|
||||
content()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue