Properly fix #8720 (#8797)

* Partially revert "Move library page EmptyScreens into list/grids"

This partially reverts commit 376bbeb724.

* Properly fix issue 8720

(cherry picked from commit 3251fb36c8)
This commit is contained in:
AntsyLich
2022-12-24 21:02:38 +06:00
committed by Jobobby04
parent 55e525b175
commit 414049033a
7 changed files with 176 additions and 161 deletions
@@ -14,6 +14,12 @@ import androidx.compose.ui.draw.clipToBounds
import androidx.compose.ui.unit.dp
/**
* @param refreshing Whether the layout is currently refreshing
* @param onRefresh Lambda which is invoked when a swipe to refresh gesture is completed.
* @param enabled Whether the the layout should react to swipe gestures or not.
* @param indicatorPadding Content padding for the indicator, to inset the indicator in if required.
* @param content The content containing a vertically scrollable composable.
*
* Code reference: [Accompanist SwipeRefresh](https://github.com/google/accompanist/blob/677bc4ca0ee74677a8ba73793d04d85fe4ab55fb/swiperefresh/src/main/java/com/google/accompanist/swiperefresh/SwipeRefresh.kt#L265-L283)
*/
@Composable