Updated on 2026-08-14

This commit is contained in:
Tangem 2024-02-13 13:39:55 +03:00
parent f6ac775120
commit fc1591532c
24 changed files with 219 additions and 34 deletions

View file

@ -51,6 +51,7 @@ fun getActiveIconRes(blockchainId: String): Int {
"aptos", "aptos/test" -> R.drawable.img_aptos_22
"shibarium", "shibarium/test" -> R.drawable.img_shibarium_22
"algorand", "algorand/test" -> R.drawable.img_algorand_22
"hedera", "hedera/test" -> R.drawable.img_hedera_22
else -> R.drawable.ic_alert_24
}
}
@ -103,6 +104,7 @@ fun getActiveIconResByNetworkId(networkId: String): Int {
"aptos", "aptos/test" -> R.drawable.img_aptos_22
"shibarium", "shibarium/test" -> R.drawable.img_shibarium_22
"algorand", "algorand/test" -> R.drawable.img_algorand_22
"hedera", "hedera/test" -> R.drawable.img_hedera_22
else -> R.drawable.ic_alert_24
}
}
@ -152,6 +154,7 @@ fun getActiveIconResByCoinId(coinId: String): Int {
"aptos" -> R.drawable.img_aptos_22
"shibarium" -> R.drawable.img_shibarium_22
"algorand" -> R.drawable.img_algorand_22
"hedera" -> R.drawable.img_hedera_22
else -> R.drawable.ic_alert_24
}
}
@ -204,6 +207,7 @@ fun getGreyedOutIconRes(blockchainId: String): Int {
"aptos", "aptos/test" -> R.drawable.ic_aptos_22
"shibarium", "shibarium/test" -> R.drawable.ic_shibarium_22
"algorand", "algorand/test" -> R.drawable.ic_algorand_22
"hedera", "hedera/test" -> R.drawable.ic_hedera_22
else -> R.drawable.ic_alert_24
}
}
@ -256,6 +260,7 @@ fun getGreyedOutIconResByNetworkId(networkId: String): Int {
"aptos", "aptos/test" -> R.drawable.ic_aptos_22
"shibarium", "shibarium/test" -> R.drawable.ic_shibarium_22
"algorand", "algorand/test" -> R.drawable.ic_algorand_22
"hedera", "hedera/test" -> R.drawable.ic_hedera_22
else -> R.drawable.ic_alert_24
}
}

View file

@ -0,0 +1,16 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
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="M7.876,6H6.5V16H7.876V6Z"
android:fillColor="#000000"/>
<path
android:pathData="M15.5,6H14.123V9.118H7.877V10.194H14.123V11.806H7.877V12.882H14.123V16H15.5V6Z"
android:fillColor="#000000"/>
</group>
</vector>

View file

@ -0,0 +1,19 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
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="#000000"/>
<path
android:pathData="M7.876,6H6.5V16H7.876V6Z"
android:fillColor="#ffffff"/>
<path
android:pathData="M15.5,6H14.123V9.118H7.877V10.194H14.123V11.806H7.877V12.882H14.123V16H15.5V6Z"
android:fillColor="#ffffff"/>
</group>
</vector>