mirror of
https://github.com/bitwarden/android.git
synced 2024-10-31 07:05:35 +03:00
Reorder buttons in BitwardenTwoButtonDialog (#1402)
This commit is contained in:
parent
c96ba82f4b
commit
8e69719f6b
1 changed files with 8 additions and 8 deletions
|
@ -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))
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue