Skip to content

Commit e15b941

Browse files
Migrate Migration codelab main to M3 (#492)
1 parent d31d80d commit e15b941

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

MigrationCodelab/app/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ dependencies {
9191
implementation "androidx.compose.ui:ui"
9292
implementation "androidx.compose.foundation:foundation"
9393
implementation "androidx.compose.foundation:foundation-layout"
94-
implementation "androidx.compose.material:material"
94+
implementation "androidx.compose.material3:material3"
9595
implementation "androidx.compose.runtime:runtime-livedata"
9696
implementation "androidx.compose.ui:ui-tooling-preview"
9797
debugImplementation "androidx.compose.ui:ui-tooling"

MigrationCodelab/app/src/main/java/com/google/samples/apps/sunflower/plantdetail/PlantDetailDescription.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616

1717
package com.google.samples.apps.sunflower.plantdetail
1818

19-
import androidx.compose.material.Surface
20-
import androidx.compose.material.Text
19+
import androidx.compose.material3.Surface
20+
import androidx.compose.material3.Text
2121
import androidx.compose.runtime.Composable
2222

2323
@Composable

MigrationCodelab/app/src/main/java/com/google/samples/apps/sunflower/theme/Theme.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
package com.google.samples.apps.sunflower.theme
1818

19-
import androidx.compose.material.MaterialTheme
19+
import androidx.compose.material3.MaterialTheme
2020
import androidx.compose.runtime.Composable
2121

2222
@Composable

0 commit comments

Comments
 (0)