diff --git a/app/src/main/java/com/getcode/view/main/home/components/PaymentConfirmation.kt b/app/src/main/java/com/getcode/view/main/home/components/PaymentConfirmation.kt index a41b7e181..dc2a07d06 100644 --- a/app/src/main/java/com/getcode/view/main/home/components/PaymentConfirmation.kt +++ b/app/src/main/java/com/getcode/view/main/home/components/PaymentConfirmation.kt @@ -115,15 +115,12 @@ internal fun PaymentConfirmation( label = "show/hide cancel button" ) { show -> if (show) { - TextButton( - shape = RoundedCornerShape(percent = 50), - onClick = { onCancel() }) { - Text( - text = stringResource(id = android.R.string.cancel), - style = CodeTheme.typography.caption, - color = White50 - ) - } + CodeButton( + modifier = Modifier.fillMaxWidth(), + buttonState = ButtonState.Subtle, + onClick = onCancel, + text = stringResource(id = android.R.string.cancel), + ) } else { Spacer(modifier = Modifier.minimumInteractiveComponentSize()) }