Reorder buttons in BitwardenTwoButtonDialog (#1402)

This commit is contained in:
David Perez 2024-05-29 17:56:16 -05:00 committed by Álison Fernandes
parent c96ba82f4b
commit 8e69719f6b

View file

@ -132,14 +132,6 @@ fun BitwardenTwoButtonDialog(
horizontalArrangement = Arrangement.End,
modifier = Modifier.padding(horizontal = 8.dp),
) {
BitwardenTextButton(
modifier = Modifier
.testTag("AcceptAlertButton")
.padding(horizontal = 4.dp),
label = confirmButtonText,
labelTextColor = confirmTextColor,
onClick = onConfirmClick,
)
BitwardenTextButton(
modifier = Modifier
.testTag("DismissAlertButton")
@ -148,6 +140,14 @@ fun BitwardenTwoButtonDialog(
labelTextColor = dismissTextColor,
onClick = onDismissClick,
)
BitwardenTextButton(
modifier = Modifier
.testTag("AcceptAlertButton")
.padding(horizontal = 4.dp),
label = confirmButtonText,
labelTextColor = confirmTextColor,
onClick = onConfirmClick,
)
}
Spacer(modifier = Modifier.height(24.dp))
}