@@ -31,6 +31,7 @@ import androidx.compose.foundation.layout.Spacer
3131import androidx.compose.foundation.layout.fillMaxWidth
3232import androidx.compose.foundation.layout.height
3333import androidx.compose.foundation.layout.padding
34+ import androidx.compose.foundation.layout.size
3435import androidx.compose.foundation.layout.width
3536import androidx.compose.material.ButtonDefaults
3637import androidx.compose.material.ExperimentalMaterialApi
@@ -104,13 +105,14 @@ fun TokenDetailScene(
104105 if (tokenData.logoURI != null ) {
105106 Image (
106107 painter = rememberImagePainter(data = tokenData.logoURI),
108+ modifier = Modifier .size(38 .dp),
107109 contentDescription = null ,
108110 )
109111 }
110112 Spacer (modifier = Modifier .width(8 .dp))
111113 Text (
112114 text = tokenData.name,
113- style = MaterialTheme .typography.subtitle2 ,
115+ style = MaterialTheme .typography.h3 ,
114116 modifier = Modifier .weight(1f ),
115117 color = Color .White ,
116118 )
@@ -120,10 +122,12 @@ fun TokenDetailScene(
120122 Text (
121123 text = " ${walletTokenData.count.humanizeToken()} ${tokenData.symbol} " ,
122124 color = Color .White ,
125+ style = MaterialTheme .typography.h6,
123126 )
127+ Spacer (modifier = Modifier .width(4 .dp))
124128 Text (
125129 text = (walletTokenData.count * tokenData.price).humanizeDollar(),
126- style = MaterialTheme .typography.h6 ,
130+ style = MaterialTheme .typography.h4 ,
127131 color = Color .White ,
128132 )
129133 }
@@ -149,9 +153,16 @@ fun TokenDetailScene(
149153 modifier = Modifier .weight(1f ),
150154 onClick = { onSend.invoke() },
151155 elevation = ButtonDefaults .elevation(defaultElevation = 0 .dp),
152- colors = ButtonDefaults .buttonColors(backgroundColor = Color (0XFFFFB915 ))
156+ colors = ButtonDefaults .buttonColors(
157+ backgroundColor = Color (0XFFFFB915 ),
158+ contentColor = MaterialTheme .colors.onPrimary
159+ )
153160 ) {
154- Icon (painterResource(id = R .drawable.upload), contentDescription = null )
161+ Icon (
162+ painterResource(id = R .drawable.upload),
163+ contentDescription = null ,
164+ tint = MaterialTheme .colors.onPrimary
165+ )
155166 Spacer (modifier = Modifier .width(4 .dp))
156167 Text (
157168 text = stringResource(R .string.scene_wallet_balance_btn_Send),
0 commit comments