Updated on 2026-08-14
This commit is contained in:
commit
58a6d87c83
5 changed files with 37 additions and 5 deletions
|
|
@ -52,6 +52,7 @@ fun getActiveIconRes(blockchainId: String): Int {
|
|||
"shibarium", "shibarium/test" -> R.drawable.img_shibarium_22
|
||||
"algorand", "algorand/test" -> R.drawable.img_algorand_22
|
||||
"hedera", "hedera/test" -> R.drawable.img_hedera_22
|
||||
"playa3ull" -> R.drawable.img_playa3ull_22
|
||||
else -> R.drawable.ic_alert_24
|
||||
}
|
||||
}
|
||||
|
|
@ -105,6 +106,7 @@ fun getActiveIconResByNetworkId(networkId: String): Int {
|
|||
"shibarium", "shibarium/test" -> R.drawable.img_shibarium_22
|
||||
"algorand", "algorand/test" -> R.drawable.img_algorand_22
|
||||
"hedera-hashgraph", "hedera/test" -> R.drawable.img_hedera_22
|
||||
"playa3ull-games" -> R.drawable.img_playa3ull_22
|
||||
else -> R.drawable.ic_alert_24
|
||||
}
|
||||
}
|
||||
|
|
@ -155,6 +157,7 @@ fun getActiveIconResByCoinId(coinId: String): Int {
|
|||
"shibarium" -> R.drawable.img_shibarium_22
|
||||
"algorand" -> R.drawable.img_algorand_22
|
||||
"hedera-hashgraph" -> R.drawable.img_hedera_22
|
||||
"playa3ull-games-2" -> R.drawable.img_playa3ull_22
|
||||
else -> R.drawable.ic_alert_24
|
||||
}
|
||||
}
|
||||
|
|
@ -208,6 +211,7 @@ fun getGreyedOutIconRes(blockchainId: String): Int {
|
|||
"shibarium", "shibarium/test" -> R.drawable.ic_shibarium_22
|
||||
"algorand", "algorand/test" -> R.drawable.ic_algorand_22
|
||||
"hedera", "hedera/test" -> R.drawable.ic_hedera_22
|
||||
"playa3ull" -> R.drawable.ic_playa3ull_22
|
||||
else -> R.drawable.ic_alert_24
|
||||
}
|
||||
}
|
||||
|
|
@ -261,6 +265,7 @@ fun getGreyedOutIconResByNetworkId(networkId: String): Int {
|
|||
"shibarium", "shibarium/test" -> R.drawable.ic_shibarium_22
|
||||
"algorand", "algorand/test" -> R.drawable.ic_algorand_22
|
||||
"hedera-hashgraph", "hedera/test" -> R.drawable.ic_hedera_22
|
||||
"playa3ull-games" -> R.drawable.ic_playa3ull_22
|
||||
else -> R.drawable.ic_alert_24
|
||||
}
|
||||
}
|
||||
12
core/ui/src/main/res/drawable/ic_playa3ull_22.xml
Normal file
12
core/ui/src/main/res/drawable/ic_playa3ull_22.xml
Normal 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">
|
||||
<group>
|
||||
<path
|
||||
android:fillColor="#000000"
|
||||
android:fillType="evenOdd"
|
||||
android:pathData="M11.913,11.508L11.913,11.508L11.913,11.508C11.785,10.984 11.647,10.415 11.647,9.847C11.601,9.518 11.878,8.834 13.349,8.721C15.187,8.58 17.714,7.736 17.774,6.681C17.834,5.626 17.139,4.828 16.821,4.5C18.251,5.133 19,6.399 19,7.173C19,7.877 18.591,9.003 17.434,9.776C16.56,10.361 15.596,10.855 14.847,11.113C14.847,11.281 14.924,11.609 15.005,11.952L15.005,11.952C15.094,12.328 15.187,12.722 15.187,12.942C15.187,13.189 14.463,13.751 13.863,14.215C13.439,14.544 13.077,14.825 13.077,14.912C13.077,15.01 13.194,15.153 13.32,15.307C13.465,15.485 13.621,15.676 13.621,15.827C13.621,16 13.363,16.307 13.117,16.599C12.963,16.781 12.815,16.958 12.736,17.093C12.652,17.239 12.625,17.372 12.6,17.503C12.563,17.69 12.527,17.872 12.328,18.078C12.072,18.342 11.398,18.461 11.034,18.494V18.5C11.023,18.499 11.012,18.498 11,18.497C10.988,18.498 10.977,18.499 10.966,18.5V18.494C10.602,18.461 9.928,18.342 9.672,18.078C9.473,17.872 9.437,17.69 9.4,17.503L9.4,17.503C9.375,17.372 9.348,17.239 9.264,17.093C9.185,16.958 9.037,16.781 8.883,16.599C8.637,16.307 8.379,16 8.379,15.827C8.379,15.676 8.535,15.485 8.68,15.307C8.806,15.153 8.923,15.01 8.923,14.912C8.923,14.825 8.561,14.544 8.137,14.215C7.537,13.751 6.813,13.189 6.813,12.942C6.813,12.722 6.906,12.328 6.995,11.952L6.995,11.952C7.076,11.609 7.153,11.281 7.153,11.113C6.404,10.855 5.44,10.361 4.566,9.776C3.409,9.003 3,7.877 3,7.173C3,6.399 3.749,5.133 5.179,4.5C4.861,4.828 4.165,5.626 4.226,6.681C4.286,7.736 6.813,8.58 8.651,8.721C10.122,8.834 10.399,9.518 10.353,9.847C10.353,10.415 10.215,10.984 10.087,11.508L10.087,11.508C9.978,11.957 9.877,12.374 9.877,12.731C9.786,12.708 9.523,12.604 9.196,12.379C8.787,12.098 8.651,12.098 8.515,12.239C8.379,12.379 8.515,13.083 9.06,13.294C9.495,13.463 9.877,13.364 10.013,13.294L11,16.422L11.987,13.294C12.123,13.364 12.505,13.463 12.94,13.294C13.485,13.083 13.621,12.379 13.485,12.239C13.349,12.098 13.213,12.098 12.804,12.379C12.477,12.604 12.214,12.708 12.123,12.731C12.123,12.374 12.022,11.957 11.913,11.508ZM13.145,12.59C13.122,12.731 12.963,13.169 12.736,13.013C12.532,12.872 12.872,12.59 13.145,12.59ZM8.855,12.59C8.878,12.731 9.037,13.169 9.264,13.013C9.468,12.872 9.128,12.59 8.855,12.59Z" />
|
||||
</group>
|
||||
</vector>
|
||||
16
core/ui/src/main/res/drawable/img_playa3ull_22.xml
Normal file
16
core/ui/src/main/res/drawable/img_playa3ull_22.xml
Normal 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:fillColor="#117B3C"
|
||||
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:fillColor="#ffffff"
|
||||
android:fillType="evenOdd"
|
||||
android:pathData="M11.913,11.508L11.913,11.508L11.913,11.508C11.785,10.984 11.647,10.415 11.647,9.847C11.601,9.518 11.878,8.834 13.349,8.721C15.187,8.58 17.714,7.736 17.774,6.681C17.834,5.626 17.139,4.828 16.821,4.5C18.251,5.133 19,6.399 19,7.173C19,7.877 18.591,9.003 17.434,9.776C16.56,10.361 15.596,10.855 14.847,11.113C14.847,11.281 14.924,11.609 15.005,11.952L15.005,11.952C15.094,12.328 15.187,12.722 15.187,12.942C15.187,13.189 14.463,13.751 13.863,14.215C13.439,14.544 13.077,14.825 13.077,14.912C13.077,15.01 13.194,15.153 13.32,15.307C13.465,15.485 13.621,15.676 13.621,15.827C13.621,16 13.363,16.307 13.117,16.599C12.963,16.781 12.815,16.958 12.736,17.093C12.652,17.239 12.625,17.372 12.6,17.503C12.563,17.69 12.527,17.872 12.328,18.078C12.072,18.342 11.398,18.461 11.034,18.494V18.5C11.023,18.499 11.012,18.498 11,18.497C10.988,18.498 10.977,18.499 10.966,18.5V18.494C10.602,18.461 9.928,18.342 9.672,18.078C9.473,17.872 9.437,17.69 9.4,17.503L9.4,17.503C9.375,17.372 9.348,17.239 9.264,17.093C9.185,16.958 9.037,16.781 8.883,16.599C8.637,16.307 8.379,16 8.379,15.827C8.379,15.676 8.535,15.485 8.68,15.307C8.806,15.153 8.923,15.01 8.923,14.912C8.923,14.825 8.561,14.544 8.137,14.215C7.537,13.751 6.813,13.189 6.813,12.942C6.813,12.722 6.906,12.328 6.995,11.952L6.995,11.952C7.076,11.609 7.153,11.281 7.153,11.113C6.404,10.855 5.44,10.361 4.566,9.776C3.409,9.003 3,7.877 3,7.173C3,6.399 3.749,5.133 5.179,4.5C4.861,4.828 4.165,5.626 4.226,6.681C4.286,7.736 6.813,8.58 8.651,8.721C10.122,8.834 10.399,9.518 10.353,9.847C10.353,10.415 10.215,10.984 10.087,11.508L10.087,11.508C9.978,11.957 9.877,12.374 9.877,12.731C9.786,12.708 9.523,12.604 9.196,12.379C8.787,12.098 8.651,12.098 8.515,12.239C8.379,12.379 8.515,13.083 9.06,13.294C9.495,13.463 9.877,13.364 10.013,13.294L11,16.422L11.987,13.294C12.123,13.364 12.505,13.463 12.94,13.294C13.485,13.083 13.621,12.379 13.485,12.239C13.349,12.098 13.213,12.098 12.804,12.379C12.477,12.604 12.214,12.708 12.123,12.731C12.123,12.374 12.022,11.957 11.913,11.508ZM13.145,12.59C13.122,12.731 12.963,13.169 12.736,13.013C12.532,12.872 12.872,12.59 13.145,12.59ZM8.855,12.59C8.878,12.731 9.037,13.169 9.264,13.013C9.468,12.872 9.128,12.59 8.855,12.59Z" />
|
||||
</group>
|
||||
</vector>
|
||||
|
|
@ -80,7 +80,7 @@ fun Blockchain.Companion.fromNetworkId(networkId: String): Blockchain? {
|
|||
"vechain/test" -> Blockchain.VeChainTestnet
|
||||
"aptos" -> Blockchain.Aptos
|
||||
"aptos/test" -> Blockchain.AptosTestnet
|
||||
"" -> Blockchain.Playa3ull // FIXME
|
||||
"playa3ull-games" -> Blockchain.Playa3ull
|
||||
"shibarium" -> Blockchain.Shibarium
|
||||
"shibarium/test" -> Blockchain.ShibariumTestnet
|
||||
"algorand" -> Blockchain.Algorand
|
||||
|
|
@ -168,7 +168,7 @@ fun Blockchain.toNetworkId(): String {
|
|||
Blockchain.VeChainTestnet -> "vechain/test"
|
||||
Blockchain.Aptos -> "aptos"
|
||||
Blockchain.AptosTestnet -> "aptos/test"
|
||||
Blockchain.Playa3ull -> "" // FIXME
|
||||
Blockchain.Playa3ull -> "playa3ull-games"
|
||||
Blockchain.Shibarium -> "shibarium"
|
||||
Blockchain.ShibariumTestnet -> "shibarium/test"
|
||||
Blockchain.Algorand -> "algorand"
|
||||
|
|
@ -226,7 +226,7 @@ fun Blockchain.toCoinId(): String {
|
|||
Blockchain.VeChain, Blockchain.VeChainTestnet -> "vechain"
|
||||
Blockchain.Aptos -> "aptos"
|
||||
Blockchain.AptosTestnet -> "aptos/test"
|
||||
Blockchain.Playa3ull -> "" // FIXME
|
||||
Blockchain.Playa3ull -> "playa3ull-games-2"
|
||||
Blockchain.Shibarium -> "bone-shibaswap"
|
||||
Blockchain.ShibariumTestnet -> "bone-shibaswap/test"
|
||||
Blockchain.Algorand -> "algorand"
|
||||
|
|
@ -261,5 +261,4 @@ private const val NODL_AMOUNT_TO_CREATE_ACCOUNT = 1.5
|
|||
private val excludedBlockchains = listOf(
|
||||
Blockchain.Unknown,
|
||||
Blockchain.Ducatus,
|
||||
Blockchain.Playa3ull,
|
||||
)
|
||||
|
|
@ -85,7 +85,7 @@ web3j = "4.10.1"
|
|||
# endregion Other libraries
|
||||
|
||||
# region Tangem
|
||||
tangemBlockchainSdk = "develop-489"
|
||||
tangemBlockchainSdk = "develop-490"
|
||||
#tangemBlockchainSdk = "0.0.1" # Keep it! - used for local builds
|
||||
tangemCardSdk = "develop-324"
|
||||
#tangemCardSdk = "0.0.1" # Keep it! - used for local builds ^
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue