Updated on 2026-08-14
This commit is contained in:
parent
5fb1090653
commit
99f228ee33
3 changed files with 26 additions and 12 deletions
|
Before Width: | Height: | Size: 772 B After Width: | Height: | Size: 772 B |
|
|
@ -0,0 +1,18 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="48dp"
|
||||
android:height="32dp"
|
||||
android:viewportWidth="48"
|
||||
android:viewportHeight="32">
|
||||
<path
|
||||
android:fillColor="#C9C9C9"
|
||||
android:pathData="M4,0L44,0A4,4 0,0 1,48 4L48,28A4,4 0,0 1,44 32L4,32A4,4 0,0 1,0 28L0,4A4,4 0,0 1,4 0z" />
|
||||
<path
|
||||
android:fillAlpha="0.7"
|
||||
android:fillColor="#ffffff"
|
||||
android:fillType="evenOdd"
|
||||
android:pathData="M31.459,9.589H29.991L28.89,5.26C28.838,5.061 28.727,4.885 28.564,4.802C28.157,4.593 27.708,4.427 27.219,4.344V4.177H29.583C29.909,4.177 30.154,4.427 30.195,4.718L30.766,7.841L32.233,4.177H33.66L31.459,9.589ZM34.475,9.589H33.089L34.23,4.177H35.617L34.475,9.589ZM37.41,5.676C37.451,5.384 37.696,5.218 37.981,5.218C38.43,5.176 38.919,5.259 39.326,5.467L39.571,4.302C39.163,4.135 38.715,4.052 38.307,4.052C36.962,4.052 35.983,4.801 35.983,5.842C35.983,6.633 36.677,7.049 37.166,7.299C37.696,7.549 37.9,7.716 37.859,7.965C37.859,8.34 37.451,8.507 37.044,8.507C36.554,8.507 36.065,8.382 35.617,8.173L35.372,9.339C35.862,9.547 36.391,9.631 36.881,9.631C38.389,9.672 39.326,8.923 39.326,7.799C39.326,6.383 37.41,6.3 37.41,5.676ZM44.178,9.589L43.077,4.177H41.895C41.65,4.177 41.405,4.344 41.324,4.593L39.286,9.589H40.713L40.998,8.799H42.751L42.914,9.589H44.178ZM42.098,5.634L42.506,7.674H41.364L42.098,5.634Z"
|
||||
android:strokeAlpha="0.7" />
|
||||
<path
|
||||
android:fillColor="#ffffff"
|
||||
android:pathData="M7.943,18.044C7.618,17.719 7.69,17.171 8.12,17.007C8.278,16.947 8.438,16.894 8.599,16.85C9.044,16.728 9.499,16.667 9.966,16.667C11.455,16.667 12.722,17.183 13.766,18.217C14.811,19.25 15.333,20.511 15.333,22V22.117L15.933,21.517C16.191,21.259 16.608,21.259 16.866,21.517C17.124,21.774 17.124,22.192 16.866,22.45L15.199,24.117C14.905,24.411 14.427,24.411 14.133,24.117L12.466,22.45C12.208,22.192 12.208,21.774 12.466,21.517C12.724,21.259 13.142,21.259 13.399,21.517L13.999,22.117V22C13.999,20.889 13.608,19.944 12.824,19.167C12.041,18.389 11.088,18 9.966,18C9.677,18 9.394,18.033 9.116,18.1C8.997,18.128 8.88,18.163 8.763,18.204C8.479,18.303 8.156,18.256 7.943,18.044ZM3.133,22.483C2.875,22.226 2.875,21.808 3.133,21.55L5.036,19.646C5.2,19.483 5.465,19.483 5.629,19.646L7.533,21.55C7.79,21.808 7.79,22.226 7.533,22.483C7.275,22.741 6.857,22.741 6.599,22.483L5.999,21.883V22C5.999,23.111 6.391,24.056 7.174,24.833C7.958,25.611 8.911,26 10.033,26C10.322,26 10.605,25.967 10.883,25.9C11.001,25.872 11.119,25.837 11.236,25.796C11.52,25.697 11.843,25.743 12.056,25.956C12.381,26.281 12.309,26.829 11.879,26.993C11.721,27.053 11.561,27.106 11.399,27.15C10.955,27.272 10.499,27.333 10.033,27.333C8.544,27.333 7.277,26.817 6.233,25.783C5.188,24.75 4.666,23.489 4.666,22V21.883L4.066,22.483C3.808,22.741 3.39,22.741 3.133,22.483Z" />
|
||||
</vector>
|
||||
|
|
@ -302,20 +302,16 @@ private fun TangemPayCardItem(card: TangemPayDetailsBalanceBlockState.Card, modi
|
|||
) {
|
||||
Image(
|
||||
modifier = Modifier.fillMaxSize(),
|
||||
painter = painterResource(R.drawable.img_visa_card_48x32),
|
||||
painter = painterResource(
|
||||
if (card.isReissuing) {
|
||||
R.drawable.img_visa_card_inactive_48_32
|
||||
} else {
|
||||
R.drawable.img_visa_card_48_32
|
||||
},
|
||||
),
|
||||
contentDescription = null,
|
||||
)
|
||||
if (card.isReissuing) {
|
||||
Icon(
|
||||
modifier = Modifier
|
||||
.size(16.dp)
|
||||
.align(Alignment.BottomStart)
|
||||
.padding(2.dp),
|
||||
painter = painterResource(R.drawable.ic_update_32),
|
||||
contentDescription = null,
|
||||
tint = TangemTheme.colors.text.constantWhite,
|
||||
)
|
||||
} else {
|
||||
if (!card.isReissuing) {
|
||||
Text(
|
||||
modifier = Modifier
|
||||
.align(Alignment.BottomStart)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue