Updated on 2026-08-14
This commit is contained in:
parent
0db08ff571
commit
a48967b3ce
6 changed files with 50 additions and 1 deletions
|
|
@ -80,6 +80,7 @@ fun getActiveIconRes(blockchainId: String): Int {
|
|||
"energy-web-x", "energy-web-x/test" -> R.drawable.img_energy_web_22
|
||||
"core", "core/test" -> R.drawable.img_core_22
|
||||
"casper-network", "casper-network/test" -> R.drawable.img_casper_22
|
||||
"xodex" -> R.drawable.img_xodex_22
|
||||
else -> R.drawable.ic_alert_24
|
||||
}
|
||||
}
|
||||
|
|
@ -161,6 +162,7 @@ fun getActiveIconResByNetworkId(networkId: String): Int {
|
|||
"energy-web-x", "energy-web-x/test" -> R.drawable.img_energy_web_22
|
||||
"core", "core/test" -> R.drawable.img_core_22
|
||||
"casper-network", "casper-network/test" -> R.drawable.img_casper_22
|
||||
"xodex" -> R.drawable.img_xodex_22
|
||||
else -> R.drawable.ic_alert_24
|
||||
}
|
||||
}
|
||||
|
|
@ -239,6 +241,7 @@ fun getActiveIconResByCoinId(coinId: String): Int {
|
|||
"energy-web-x", "energy-web-x/test" -> R.drawable.img_energy_web_22
|
||||
"core", "core/test" -> R.drawable.img_core_22
|
||||
"casper-network" -> R.drawable.img_casper_22
|
||||
"xodex" -> R.drawable.img_xodex_22
|
||||
else -> R.drawable.ic_alert_24
|
||||
}
|
||||
}
|
||||
|
|
@ -320,6 +323,7 @@ fun getGreyedOutIconRes(blockchainId: String): Int {
|
|||
"energy-web-x", "energy-web-x/test" -> R.drawable.ic_energy_web_22
|
||||
"core", "core/test" -> R.drawable.ic_core_22
|
||||
"casper-network", "casper-network/test" -> R.drawable.ic_casper_22
|
||||
"xodex" -> R.drawable.ic_xodex_22
|
||||
else -> R.drawable.ic_alert_24
|
||||
}
|
||||
}
|
||||
|
|
@ -401,6 +405,7 @@ fun getGreyedOutIconResByNetworkId(networkId: String): Int {
|
|||
"energy-web-x", "energy-web-x/test" -> R.drawable.ic_energy_web_22
|
||||
"core", "core/test" -> R.drawable.ic_core_22
|
||||
"casper-network", "casper-network/test" -> R.drawable.ic_casper_22
|
||||
"xodex" -> R.drawable.ic_xodex_22
|
||||
else -> R.drawable.ic_alert_24
|
||||
}
|
||||
}
|
||||
9
core/ui/src/main/res/drawable/ic_xodex_22.xml
Normal file
9
core/ui/src/main/res/drawable/ic_xodex_22.xml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<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="M16.5,17V13.94L13.626,10.961L16.5,7.982V5H12.75L10.361,7.479L8.448,5.496H5.5V7.611L8.204,10.416H8.921L13.055,6.131H15.238L10.538,11L15.238,15.871H13.053L8.914,11.505H8.204L5.5,14.31V16.507H8.448L10.358,14.524H10.361L12.75,17H16.5Z"
|
||||
android:fillColor="#000000"/>
|
||||
</vector>
|
||||
31
core/ui/src/main/res/drawable/img_xodex_22.xml
Normal file
31
core/ui/src/main/res/drawable/img_xodex_22.xml
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
<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="#0B0C14"/>
|
||||
<path
|
||||
android:pathData="M16.5,17V13.94L13.626,10.961L16.5,7.982V5H12.75L10.361,7.479L8.448,5.496H5.5V7.611L8.204,10.416H8.921L13.055,6.131H15.238L10.538,11L15.238,15.871H13.053L8.914,11.505H8.204L5.5,14.31V16.507H8.448L10.358,14.524H10.361L12.75,17H16.5Z">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
android:startX="4.677"
|
||||
android:startY="6.97"
|
||||
android:endX="17.964"
|
||||
android:endY="14.372"
|
||||
android:type="linear">
|
||||
<item android:offset="0" android:color="#FF1F7CF7"/>
|
||||
<item android:offset="0.998" android:color="#FF2DF5DD"/>
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
</group>
|
||||
</vector>
|
||||
Loading…
Add table
Add a link
Reference in a new issue