Skip to content

Commit

Permalink
Merge branch 'wrong-button-spacing-on-outoftimewelcome-droid-553'
Browse files Browse the repository at this point in the history
  • Loading branch information
Pururun committed Dec 1, 2023
2 parents 233d384 + dfebc2f commit 9fcd047
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,9 @@ private fun ConnectionButton(
modifier: Modifier = Modifier,
reconnectButtonTestTag: String = ""
) {
ConstraintLayout(modifier = modifier.fillMaxWidth()) {
ConstraintLayout(
modifier = modifier.padding(vertical = Dimens.connectButtonExtraPadding).fillMaxWidth()
) {
// initial height set at 0.dp
var componentHeight by remember { mutableStateOf(0.dp) }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ fun OutOfTimeScreen(
Modifier.padding(
start = Dimens.sideMargin,
end = Dimens.sideMargin,
bottom = Dimens.screenVerticalMargin
bottom = Dimens.buttonSpacing
)
.align(Alignment.CenterHorizontally)
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ private fun PaymentPanel(
Modifier.padding(
start = Dimens.sideMargin,
end = Dimens.sideMargin,
bottom = Dimens.screenVerticalMargin
bottom = Dimens.buttonSpacing
)
.align(Alignment.CenterHorizontally)
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ data class Dimensions(
val circularProgressBarSmallSize: Dp = 24.dp,
val circularProgressBarSmallStrokeWidth: Dp = 3.dp,
val cityRowPadding: Dp = 34.dp,
val connectButtonExtraPadding: Dp = 4.dp,
val countryRowPadding: Dp = 18.dp,
val customPortBoxMinWidth: Dp = 80.dp,
val dialogIconHeight: Dp = 44.dp,
Expand Down

0 comments on commit 9fcd047

Please sign in to comment.