mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
style: Scrollbar
And add fast scroller component for later
This commit is contained in:
parent
f7e5abba59
commit
e554513392
3 changed files with 699 additions and 1 deletions
|
@ -29,6 +29,7 @@ import yokai.presentation.component.Gap
|
|||
import yokai.presentation.component.preference.Preference
|
||||
import yokai.presentation.component.preference.PreferenceItem
|
||||
import yokai.presentation.component.preference.widget.PreferenceGroupHeader
|
||||
import yokai.presentation.core.drawVerticalScrollbar
|
||||
import yokai.presentation.core.enterAlwaysCollapsedScrollBehavior
|
||||
|
||||
@Composable
|
||||
|
@ -106,7 +107,7 @@ fun PreferenceScreen(
|
|||
}
|
||||
|
||||
LazyColumn(
|
||||
modifier = modifier,
|
||||
modifier = modifier.drawVerticalScrollbar(listState),
|
||||
contentPadding = contentPadding,
|
||||
state = listState
|
||||
) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue