Fix Text button color.
This commit is contained in:
parent
cc7fd55269
commit
d173d67e77
1 changed files with 1 additions and 1 deletions
|
|
@ -314,7 +314,7 @@ internal enum class ButtonStyle {
|
|||
contentColor = if (destructive) {
|
||||
ElementTheme.colors.textCriticalPrimary
|
||||
} else {
|
||||
if (LocalContentColor.current.isSpecified) LocalContentColor.current else ElementTheme.materialColors.primary
|
||||
if (LocalContentColor.current.isSpecified) LocalContentColor.current else ElementTheme.colors.textPrimary
|
||||
},
|
||||
disabledContainerColor = Color.Transparent,
|
||||
disabledContentColor = getDisabledContentColor(destructive),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue