Fixed custom dynamic theming for old devices. (#10)

This commit is contained in:
Sad Ellie 2022-12-24 17:24:13 +04:00
parent 16b8bd35a3
commit e5b7a7b6c2
2 changed files with 3 additions and 2 deletions

View File

@ -199,7 +199,7 @@ dependencies {
implementation("com.squareup.retrofit2:converter-moshi:2.9.0")
// Themmo
implementation("com.github.sadellie:themmo:0.0.5")
implementation("com.github.sadellie:themmo:74865c7650")
// ComposeReorderable
implementation("org.burnoutcrew.composereorderable:reorderable:0.9.6")

View File

@ -75,7 +75,8 @@ fun KeyboardButton(
) {
Text(
text = digit,
style = NumbersTextStyleTitleLarge
style = NumbersTextStyleTitleLarge,
color = if (isPrimary) MaterialTheme.colorScheme.onSurfaceVariant else MaterialTheme.colorScheme.onSecondaryContainer,
)
}
}