mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 16:10:00 +00:00
Fix Text button color.
This commit is contained in:
+1
-1
@@ -314,7 +314,7 @@ internal enum class ButtonStyle {
|
|||||||
contentColor = if (destructive) {
|
contentColor = if (destructive) {
|
||||||
ElementTheme.colors.textCriticalPrimary
|
ElementTheme.colors.textCriticalPrimary
|
||||||
} else {
|
} else {
|
||||||
if (LocalContentColor.current.isSpecified) LocalContentColor.current else ElementTheme.materialColors.primary
|
if (LocalContentColor.current.isSpecified) LocalContentColor.current else ElementTheme.colors.textPrimary
|
||||||
},
|
},
|
||||||
disabledContainerColor = Color.Transparent,
|
disabledContainerColor = Color.Transparent,
|
||||||
disabledContentColor = getDisabledContentColor(destructive),
|
disabledContentColor = getDisabledContentColor(destructive),
|
||||||
|
|||||||
Reference in New Issue
Block a user