Updated on 2026-08-14

This commit is contained in:
Tangem 2024-10-31 14:23:33 +05:00
parent f4898a4475
commit fd1e3bb447
6 changed files with 54 additions and 1 deletions

View file

@ -81,6 +81,7 @@ fun getActiveIconRes(blockchainId: String): Int {
"core", "core/test" -> R.drawable.img_core_22
"casper", "casper/test" -> R.drawable.img_casper_22
"xodex" -> R.drawable.img_xodex_22
"canxium" -> R.drawable.img_canxium_22
else -> R.drawable.ic_alert_24
}
}
@ -160,6 +161,7 @@ fun getActiveIconResByCoinId(coinId: String): Int {
"core", "core/test" -> R.drawable.img_core_22
"casper-network" -> R.drawable.img_casper_22
"xodex" -> R.drawable.img_xodex_22
"canxium" -> R.drawable.img_canxium_22
else -> R.drawable.ic_alert_24
}
}
@ -242,6 +244,7 @@ fun getGreyedOutIconRes(blockchainId: String): Int {
"core", "core/test" -> R.drawable.ic_core_22
"casper", "casper/test" -> R.drawable.ic_casper_22
"xodex" -> R.drawable.ic_xodex_22
"canxium" -> R.drawable.ic_canxium_22
else -> R.drawable.ic_alert_24
}
}

View file

@ -0,0 +1,12 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="22dp"
android:height="22dp"
android:viewportWidth="22"
android:viewportHeight="22">
<path
android:pathData="M17,16.362L8.298,6.149H5.491L9.697,11.044L5,16.362H7.877L11.105,12.705L14.123,16.362H17Z"
android:fillColor="#000000"/>
<path
android:pathData="M13.211,10.276L16.86,6.149H14.003L11.807,8.667L13.211,10.276Z"
android:fillColor="#000000"/>
</vector>

View file

@ -0,0 +1,34 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:aapt="http://schemas.android.com/aapt"
android:width="22dp"
android:height="22dp"
android:viewportWidth="22"
android:viewportHeight="22">
<group>
<clip-path
android:pathData="M11,0L11,0A11,11 0,0 1,22 11L22,11A11,11 0,0 1,11 22L11,22A11,11 0,0 1,0 11L0,11A11,11 0,0 1,11 0z"/>
<path
android:pathData="M11,0L11,0A11,11 0,0 1,22 11L22,11A11,11 0,0 1,11 22L11,22A11,11 0,0 1,0 11L0,11A11,11 0,0 1,11 0z"
android:fillColor="#ffffff"/>
<path
android:pathData="M0,0h22v22h-22z"
android:fillColor="#0E101D"/>
<path
android:pathData="M17,16.362L8.298,6.149H5.491L9.697,11.044L5,16.362H7.877L11.105,12.705L14.123,16.362H17Z"
android:fillColor="#ffffff"/>
<path
android:pathData="M13.211,10.276L16.86,6.149H14.003L11.807,8.667L13.211,10.276Z">
<aapt:attr name="android:fillColor">
<gradient
android:startX="11.646"
android:startY="9.084"
android:endX="17.342"
android:endY="6.552"
android:type="linear">
<item android:offset="0" android:color="#FF7C37F5"/>
<item android:offset="1" android:color="#FFBE41EB"/>
</gradient>
</aapt:attr>
</path>
</group>
</vector>