TP-49506 revert material 3 version upgrade (#248)
This commit is contained in:
@@ -101,5 +101,5 @@ dependencies {
|
||||
api "io.coil-kt:coil-compose:2.4.0"
|
||||
testImplementation "junit:junit:4.13.2"
|
||||
androidTestImplementation "androidx.test.ext:junit:1.1.5"
|
||||
implementation 'androidx.compose.material3:material3:1.2.0-alpha11'
|
||||
implementation 'androidx.compose.material3:material3:1.1.2'
|
||||
}
|
||||
|
||||
@@ -619,7 +619,7 @@ fun String?.toDoubleWithSafe(): Double {
|
||||
}
|
||||
}
|
||||
|
||||
fun getTextAlignment(textAlignment: String?): TextAlign {
|
||||
fun getTextAlignment(textAlignment: String?): TextAlign? {
|
||||
return when (textAlignment) {
|
||||
TextAlign.Start.toString() -> TextAlign.Start
|
||||
TextAlign.End.toString() -> TextAlign.End
|
||||
@@ -627,7 +627,7 @@ fun getTextAlignment(textAlignment: String?): TextAlign {
|
||||
TextAlign.Left.toString() -> TextAlign.Left
|
||||
TextAlign.Right.toString() -> TextAlign.Right
|
||||
TextAlign.Justify.toString() -> TextAlign.Justify
|
||||
else -> TextAlign.Unspecified
|
||||
else -> null
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user