diff --git a/build.gradle.kts b/build.gradle.kts index 442bacaa..3d95893a 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -14,7 +14,7 @@ buildscript { dependencies { classpath(Dependencies.Kotlin.gradlePlugin) - classpath("com.android.tools.build:gradle:7.3.0-beta05") + classpath("com.android.tools.build:gradle:7.3.0") classpath("com.vanniktech:gradle-maven-publish-plugin:0.19.0") classpath("org.jetbrains.dokka:dokka-gradle-plugin:1.7.0") classpath(Dependencies.Shot.core) diff --git a/datetime/src/main/java/com/vanpra/composematerialdialogs/datetime/time/TimePicker.kt b/datetime/src/main/java/com/vanpra/composematerialdialogs/datetime/time/TimePicker.kt index d6214556..c57034e4 100644 --- a/datetime/src/main/java/com/vanpra/composematerialdialogs/datetime/time/TimePicker.kt +++ b/datetime/src/main/java/com/vanpra/composematerialdialogs/datetime/time/TimePicker.kt @@ -347,7 +347,7 @@ internal fun TimeLayout(modifier: Modifier = Modifier, state: TimePickerState) { ) { Text( text = ":", - style = TextStyle(fontSize = 50.sp, color = MaterialTheme.colors.onBackground) + style = TextStyle(fontSize = 50.sp, color = state.colors.headerTextColor().value) ) }