You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Hide BottomAppBar when scrollable list is not scrollable #256
This commit introduces the ability to hide the BottomAppBar when a scrollable list (like in LogScreen and ListManagerScreen) is not scrollable. It also refactors the code to achieve this:
- Adds `LocalBottomBarBehavior` to provide the `BottomAppBarScrollBehavior` for child composables.
- Adds a check in `LogScreen` and `ListManagerScreen` to monitor the list's scroll state.
- When the list is not scrollable (neither can scroll backward nor forward), the BottomAppBar's height offset is reset to zero, effectively hiding it.
- The code related to `LazyListState` has been refactored to use the `listState` variable consistently.
0 commit comments