Skip to content

Commit

Permalink
TIQr-461: Fix cancel button not being visible
Browse files Browse the repository at this point in the history
  • Loading branch information
dzolnai committed Oct 7, 2024
1 parent 0d919c2 commit 5b7fed9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ import nl.eduid.R
import nl.eduid.ui.AlertDialogWithSingleButton
import nl.eduid.ui.EduIdTopAppBar
import nl.eduid.ui.PrimaryButton
import nl.eduid.ui.SecondaryButton
import nl.eduid.ui.theme.ColorAlertRed
import nl.eduid.ui.theme.EduidAppAndroidTheme
import nl.eduid.ui.theme.ColorScale_Gray_Black
Expand Down Expand Up @@ -160,12 +161,11 @@ private fun TwoFactorKeyDeleteScreenContent(
modifier = Modifier
.fillMaxWidth(),
) {
PrimaryButton(
SecondaryButton(
enabled = !inProgress,
text = stringResource(id = R.string.Button_Cancel_COPY),
modifier = Modifier.widthIn(min = 140.dp),
onClick = goBack,
buttonBackgroundColor = Color.Transparent,
)
PrimaryButton(
enabled = !inProgress,
Expand Down

0 comments on commit 5b7fed9

Please sign in to comment.