Skip to content

Commit 19ffb53

Browse files
committed
Don't use lambda contentType for a single item
Change-Id: I0588c031428d523707463c5f0f0b6c586ea5e2c3
1 parent 4a8a435 commit 19ffb53

File tree

1 file changed

+1
-1
lines changed
  • feature/foryou/src/main/java/com/google/samples/apps/nowinandroid/feature/foryou

1 file changed

+1
-1
lines changed

feature/foryou/src/main/java/com/google/samples/apps/nowinandroid/feature/foryou/ForYouScreen.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ internal fun ForYouScreen(
182182
onTopicClick = onTopicClick,
183183
)
184184

185-
item(span = { GridItemSpan(maxLineSpan) }, contentType = { "bottomSpacing" }) {
185+
item(span = { GridItemSpan(maxLineSpan) }, contentType = "bottomSpacing") {
186186
Column {
187187
Spacer(modifier = Modifier.height(8.dp))
188188
// Add space for the content to clear the "offline" snackbar.

0 commit comments

Comments
 (0)