Update feature/topic/impl/src/main/kotlin/com/google/samples/apps/nowinandroid/feature/topic/impl/TopicScreen.kt topicerrorbody function to have modifier parm

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
pull/2109/head
Noah Statton 4 months ago committed by GitHub
parent c160d18ea5
commit 12ba6df156
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -206,10 +206,10 @@ private fun LazyListScope.topicBody(
} }
@Composable @Composable
private fun TopicErrorBody() { private fun TopicErrorBody(modifier: Modifier = Modifier) {
Column( Column(
horizontalAlignment = Alignment.CenterHorizontally, horizontalAlignment = Alignment.CenterHorizontally,
modifier = Modifier modifier = modifier
.fillMaxWidth() .fillMaxWidth()
.padding(horizontal = 48.dp), .padding(horizontal = 48.dp),
) { ) {

Loading…
Cancel
Save