Skip to content

Commit c596a32

Browse files
authored
Merge pull request #19 from openedx/feat/material3
Feat: material3 support
2 parents b481a2d + d5829d6 commit c596a32

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

foundation/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ publishing {
4949
register<MavenPublication>("release") {
5050
groupId = "com.github.openedx"
5151
artifactId = "openedx-app-foundation-android"
52-
version = "1.1.0"
52+
version = "1.1.1"
5353

5454
afterEvaluate {
5555
from(components["release"])

foundation/src/main/java/org/openedx/foundation/presentation/UIMessage.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package org.openedx.foundation.presentation
22

3-
import androidx.compose.material.SnackbarDuration
3+
import androidx.compose.material3.SnackbarDuration
44

55
open class UIMessage(
66
open val message: String = ""

gradle/libs.versions.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ window = "1.4.0"
2525
workRuntimeKtx = "2.10.3"
2626
detekt = "1.23.8"
2727
material-icons-extended = "1.7.8"
28+
compose_material3 = "1.4.0"
2829

2930
[libraries]
3031
androidx-constraintlayout = { module = "androidx.constraintlayout:constraintlayout", version.ref = "constraintlayout" }
@@ -36,7 +37,7 @@ androidx-fragment-ktx = { module = "androidx.fragment:fragment-ktx", version.ref
3637
androidx-lifecycle-livedata-ktx = { module = "androidx.lifecycle:lifecycle-livedata-ktx", version.ref = "lifecycle" }
3738
androidx-lifecycle-runtime-ktx = { module = "androidx.lifecycle:lifecycle-runtime-ktx", version.ref = "lifecycle" }
3839
androidx-lifecycle-viewmodel-ktx = { module = "androidx.lifecycle:lifecycle-viewmodel-ktx", version.ref = "lifecycle" }
39-
androidx-material = { module = "androidx.compose.material:material", version.ref = "compose" }
40+
androidx-material = { module = "androidx.compose.material3:material3", version.ref = "compose_material3" }
4041
androidx-material-icons-extended = { module = "androidx.compose.material:material-icons-extended", version.ref = "material-icons-extended" }
4142
androidx-room-ktx = { module = "androidx.room:room-ktx", version.ref = "room" }
4243
androidx-room-runtime = { module = "androidx.room:room-runtime", version.ref = "room" }

0 commit comments

Comments
 (0)