File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed
compose/snippets/src/main/java/com/example/compose/snippets/layouts Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -124,7 +124,6 @@ fun ConsumedFromPaddingSnippet() {
124124@Preview
125125@Composable
126126fun M3SupportScaffoldSnippet () {
127- val colors = listOf (Color .Red , Color .Blue , Color .Yellow )
128127 // [START android_compose_insets_m3_scaffold]
129128 Scaffold { innerPadding ->
130129 // innerPadding contains inset information for you to use and apply
@@ -133,14 +132,7 @@ fun M3SupportScaffoldSnippet() {
133132 modifier = Modifier .consumeWindowInsets(innerPadding),
134133 contentPadding = innerPadding
135134 ) {
136- items(count = 100 ) {
137- Box (
138- Modifier
139- .fillMaxWidth()
140- .height(50 .dp)
141- .background(colors[it % colors.size])
142- )
143- }
135+ // ..
144136 }
145137 }
146138 // [END android_compose_insets_m3_scaffold]
You can’t perform that action at this time.
0 commit comments