File tree Expand file tree Collapse file tree
app/src/main/java/com/getcode/view/main/giveKin Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -80,13 +80,13 @@ fun AmountArea(
8080 modifier = Modifier
8181 .wrapContentHeight()
8282 .align(Alignment .CenterHorizontally ),
83+ verticalAlignment = Alignment .CenterVertically
8384 ) {
8485 if (isAltCaption && isAltCaptionKinIcon) {
8586 Image (
8687 modifier = Modifier
8788 .padding(end = CodeTheme .dimens.staticGrid.x1)
88- .requiredSize(CodeTheme .dimens.staticGrid.x2)
89- .align(CenterVertically ),
89+ .requiredSize(CodeTheme .dimens.staticGrid.x2),
9090 painter = painterResource(
9191 id = if (altCaptionColor == Alert ) R .drawable.ic_kin_red
9292 else R .drawable.ic_kin_brand
@@ -98,12 +98,7 @@ fun AmountArea(
9898 ConnectionStatus (state = networkState)
9999 } else if (captionText != null ) {
100100 Text (
101- modifier = Modifier
102- .align(CenterVertically )
103- .padding(
104- top = CodeTheme .dimens.grid.x2,
105- bottom = CodeTheme .dimens.grid.x3
106- ),
101+
107102 text = captionText,
108103 color = if (isAltCaption) (altCaptionColor ? : Alert ) else BrandLight ,
109104 style = CodeTheme .typography.body1.copy(
You can’t perform that action at this time.
0 commit comments