mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
fix: Use lazyListState's canScroll function
This commit is contained in:
parent
44887198a9
commit
806316cf51
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ fun SettingsScaffold(
|
|||
actions = appBarActions,
|
||||
scrollBehavior = TopAppBarDefaults.exitUntilCollapsedScrollBehavior(
|
||||
state = rememberTopAppBarState(),
|
||||
canScroll = { listState.firstVisibleItemIndex > 0 || listState.firstVisibleItemScrollOffset > 0 },
|
||||
canScroll = { listState.canScrollForward || listState.canScrollBackward },
|
||||
),
|
||||
) { innerPadding ->
|
||||
alertDialog.content?.let { it() }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue