Skip to content

Commit bcdfde7

Browse files
committed
fix(withdrawal/address): vertically align icon and text for address validation
Signed-off-by: Brandon McAnsh <git@bmcreations.dev>
1 parent 72b34ff commit bcdfde7

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

app/src/main/java/com/getcode/view/main/account/withdraw/AccountWithdrawAddress.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import androidx.compose.runtime.Composable
1414
import androidx.compose.runtime.SideEffect
1515
import androidx.compose.runtime.collectAsState
1616
import androidx.compose.runtime.getValue
17+
import androidx.compose.ui.Alignment
1718
import androidx.compose.ui.Modifier
1819
import androidx.compose.ui.graphics.Color
1920
import androidx.compose.ui.res.painterResource
@@ -94,7 +95,8 @@ fun AccountWithdrawAddress(
9495
top.linkTo(addressField.bottom)
9596
}
9697
.fillMaxWidth()
97-
.padding(vertical = CodeTheme.dimens.grid.x1)
98+
.padding(vertical = CodeTheme.dimens.grid.x1),
99+
verticalAlignment = Alignment.CenterVertically
98100
) {
99101
dataState.isValid?.let { isValid ->
100102
Image(

0 commit comments

Comments
 (0)