Remove Scaffold from BookmarksScreen

pull/330/head
Don Turner 3 years ago
parent f59da72383
commit 3a106534e7

@ -70,10 +70,6 @@ fun BookmarksScreen(
removeFromBookmarks: (String) -> Unit, removeFromBookmarks: (String) -> Unit,
modifier: Modifier = Modifier modifier: Modifier = Modifier
) { ) {
Scaffold(
containerColor = Color.Transparent,
contentWindowInsets = WindowInsets(0, 0, 0, 0)
) { innerPadding ->
val scrollableState = rememberLazyGridState() val scrollableState = rememberLazyGridState()
TrackScrollJank(scrollableState = scrollableState, stateName = "bookmarks:grid") TrackScrollJank(scrollableState = scrollableState, stateName = "bookmarks:grid")
LazyVerticalGrid( LazyVerticalGrid(
@ -85,8 +81,6 @@ fun BookmarksScreen(
modifier = modifier modifier = modifier
.fillMaxSize() .fillMaxSize()
.testTag("bookmarks:feed") .testTag("bookmarks:feed")
.padding(innerPadding)
.consumedWindowInsets(innerPadding)
) { ) {
if (feedState is NewsFeedUiState.Loading) { if (feedState is NewsFeedUiState.Loading) {
item(span = { GridItemSpan(maxLineSpan) }) { item(span = { GridItemSpan(maxLineSpan) }) {
@ -110,4 +104,3 @@ fun BookmarksScreen(
} }
} }
} }
}

Loading…
Cancel
Save