fix back button text color

This commit is contained in:
2024-12-14 01:19:38 +03:00
parent 46e580dc2e
commit 57a1f21c31
2 changed files with 4 additions and 4 deletions
@@ -136,14 +136,14 @@ fun CaptchaScreen(
text = { text = {
Text( Text(
text = "Cancel", text = "Cancel",
color = MaterialTheme.colorScheme.primary color = MaterialTheme.colorScheme.onPrimaryContainer
) )
}, },
icon = { icon = {
Icon( Icon(
imageVector = Icons.Rounded.Close, imageVector = Icons.Rounded.Close,
contentDescription = "Close icon", contentDescription = "Close icon",
tint = MaterialTheme.colorScheme.primary, tint = MaterialTheme.colorScheme.onPrimaryContainer,
) )
} }
) )
@@ -159,14 +159,14 @@ fun ValidationScreen(
text = { text = {
Text( Text(
text = "Cancel", text = "Cancel",
color = MaterialTheme.colorScheme.primary color = MaterialTheme.colorScheme.onPrimaryContainer
) )
}, },
icon = { icon = {
Icon( Icon(
imageVector = Icons.Rounded.Close, imageVector = Icons.Rounded.Close,
contentDescription = "Close icon", contentDescription = "Close icon",
tint = MaterialTheme.colorScheme.primary, tint = MaterialTheme.colorScheme.onPrimaryContainer,
) )
} }
) )