mirror of
https://github.com/kvorschk/Magisk.git
synced 2026-12-04 19:10:47 -05:00
The scrollbar only had adapters for ScrollState and LazyListState, so lazy grids could not use it. Replace the LazyListState adapter, which estimated sizes from the visible items, with one generic adapter built on ScrollableState.scrollIndicatorState. Lazy lists, grids and staggered grids all provide it, so existing lists keep working and grids can be adopted without extra code. Assisted-by: Claude Opus 5.5