Skip to content

Commit

Permalink
Fixed submit button color in dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
PavloNetrebchuk committed Nov 6, 2023
1 parent a962fee commit a218985
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,8 @@ fun DefaultTextButton(
modifier = Modifier
.height(42.dp),
colors = ButtonDefaults.buttonColors(
backgroundColor = backgroundColor
backgroundColor = backgroundColor,
contentColor = textColor
),
elevation = null,
shape = MaterialTheme.appShapes.navigationButtonShape,
Expand All @@ -344,7 +345,6 @@ fun DefaultTextButton(
) {
Text(
text = text,
color = textColor,
style = MaterialTheme.appTypography.labelLarge
)
}
Expand Down

0 comments on commit a218985

Please sign in to comment.