Inline the scroll state.

This commit is contained in:
Benoit Marty 2023-06-09 18:09:09 +02:00
parent 4fa30f384d
commit f8a16f2ea3
4 changed files with 4 additions and 18 deletions

View file

@ -81,12 +81,9 @@ fun BugReportView(
.systemBarsPadding()
.imePadding()
) {
val scrollState = rememberScrollState()
Column(
modifier = Modifier
.verticalScroll(
state = scrollState,
)
.verticalScroll(state = rememberScrollState())
.padding(horizontal = 16.dp),
) {
val isError = state.sending is Async.Failure