🛠️ Add additional modifier to LazyColumnWithScrollbar
This commit is contained in:
parent
2114d7e6cd
commit
8c2de20e88
1 changed files with 2 additions and 1 deletions
|
|
@ -20,6 +20,7 @@ import ua.acclorite.book_story.presentation.core.constants.provideSecondaryScrol
|
||||||
@Composable
|
@Composable
|
||||||
fun LazyColumnWithScrollbar(
|
fun LazyColumnWithScrollbar(
|
||||||
modifier: Modifier = Modifier,
|
modifier: Modifier = Modifier,
|
||||||
|
parentModifier: Modifier = Modifier,
|
||||||
state: LazyListState = rememberLazyListState(),
|
state: LazyListState = rememberLazyListState(),
|
||||||
scrollbarSettings: ScrollbarSettings = Constants.provideSecondaryScrollbar(),
|
scrollbarSettings: ScrollbarSettings = Constants.provideSecondaryScrollbar(),
|
||||||
enableScrollbar: Boolean = true,
|
enableScrollbar: Boolean = true,
|
||||||
|
|
@ -33,7 +34,7 @@ fun LazyColumnWithScrollbar(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Box {
|
Box(modifier = parentModifier) {
|
||||||
LazyColumn(
|
LazyColumn(
|
||||||
modifier = modifier,
|
modifier = modifier,
|
||||||
state = state,
|
state = state,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue