Skip to content

Commit

Permalink
TIQR-482: Fix button visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
dzolnai committed Nov 26, 2024
1 parent 0bd6722 commit 0fa3cb5
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ import nl.eduid.graphs.RequestEduIdLinkSent.CHANGE_PASSWORD_REASON
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.ColorScale_Gray_500
import nl.eduid.ui.theme.ColorMain_Green_400
import nl.eduid.ui.theme.EduidAppAndroidTheme
Expand Down Expand Up @@ -143,12 +144,11 @@ fun ResetPasswordScreenContent(
modifier = Modifier
.fillMaxWidth(),
) {
PrimaryButton(
SecondaryButton(
enabled = !inProgress,
modifier = Modifier.widthIn(min = 140.dp),
text = stringResource(R.string.PasswordResetLink_Button_Cancel_COPY),
onClick = goBack,
buttonBackgroundColor = Color.Transparent,
onClick = goBack
)
PrimaryButton(
enabled = !inProgress,
Expand Down

0 comments on commit 0fa3cb5

Please sign in to comment.