From 47c6722024612141fc42929974f6fecbd47b9ba9 Mon Sep 17 00:00:00 2001 From: Florian Franzen Date: Mon, 13 May 2024 22:25:44 +0200 Subject: [PATCH] feat: add icons for analog network --- .../components/networkicon/NetworkIcon.kt | 2 + .../src/main/res/drawable/network_analog.xml | 38 +++++++++++++++++++ .../Analog_Testnet.svg | 15 ++++++++ .../analog-testnet.imageset/Contents.json | 12 ++++++ .../Analog_Timechain.svg | 15 ++++++++ .../analog-timechain.imageset/Contents.json | 12 ++++++ 6 files changed, 94 insertions(+) create mode 100644 android/src/main/res/drawable/network_analog.xml create mode 100644 ios/PolkadotVault/Resources/ChainIcons.xcassets/analog-testnet.imageset/Analog_Testnet.svg create mode 100644 ios/PolkadotVault/Resources/ChainIcons.xcassets/analog-testnet.imageset/Contents.json create mode 100644 ios/PolkadotVault/Resources/ChainIcons.xcassets/analog-timechain.imageset/Analog_Timechain.svg create mode 100644 ios/PolkadotVault/Resources/ChainIcons.xcassets/analog-timechain.imageset/Contents.json diff --git a/android/src/main/java/io/parity/signer/components/networkicon/NetworkIcon.kt b/android/src/main/java/io/parity/signer/components/networkicon/NetworkIcon.kt index 169b57c94d..25e2edbded 100644 --- a/android/src/main/java/io/parity/signer/components/networkicon/NetworkIcon.kt +++ b/android/src/main/java/io/parity/signer/components/networkicon/NetworkIcon.kt @@ -105,6 +105,8 @@ private fun getResourceIdForNetwork(networkName: String) = "alphanet" -> R.drawable.network_alphanet "altair" -> R.drawable.network_altair "amplitude" -> R.drawable.network_amplitude + "analog-testnet" -> R.drawable.network_analog + "analog-timechain" -> R.drawable.network_analog "appchain" -> R.drawable.network_appchain "apron" -> R.drawable.network_apron "ares" -> R.drawable.network_ares diff --git a/android/src/main/res/drawable/network_analog.xml b/android/src/main/res/drawable/network_analog.xml new file mode 100644 index 0000000000..315e7337cc --- /dev/null +++ b/android/src/main/res/drawable/network_analog.xml @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + diff --git a/ios/PolkadotVault/Resources/ChainIcons.xcassets/analog-testnet.imageset/Analog_Testnet.svg b/ios/PolkadotVault/Resources/ChainIcons.xcassets/analog-testnet.imageset/Analog_Testnet.svg new file mode 100644 index 0000000000..15b76e3014 --- /dev/null +++ b/ios/PolkadotVault/Resources/ChainIcons.xcassets/analog-testnet.imageset/Analog_Testnet.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/ios/PolkadotVault/Resources/ChainIcons.xcassets/analog-testnet.imageset/Contents.json b/ios/PolkadotVault/Resources/ChainIcons.xcassets/analog-testnet.imageset/Contents.json new file mode 100644 index 0000000000..7fd1aa6aa8 --- /dev/null +++ b/ios/PolkadotVault/Resources/ChainIcons.xcassets/analog-testnet.imageset/Contents.json @@ -0,0 +1,12 @@ +{ + "images" : [ + { + "filename" : "Analog_Testnet.svg", + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/ios/PolkadotVault/Resources/ChainIcons.xcassets/analog-timechain.imageset/Analog_Timechain.svg b/ios/PolkadotVault/Resources/ChainIcons.xcassets/analog-timechain.imageset/Analog_Timechain.svg new file mode 100644 index 0000000000..15b76e3014 --- /dev/null +++ b/ios/PolkadotVault/Resources/ChainIcons.xcassets/analog-timechain.imageset/Analog_Timechain.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/ios/PolkadotVault/Resources/ChainIcons.xcassets/analog-timechain.imageset/Contents.json b/ios/PolkadotVault/Resources/ChainIcons.xcassets/analog-timechain.imageset/Contents.json new file mode 100644 index 0000000000..ea9a947da4 --- /dev/null +++ b/ios/PolkadotVault/Resources/ChainIcons.xcassets/analog-timechain.imageset/Contents.json @@ -0,0 +1,12 @@ +{ + "images" : [ + { + "filename" : "Analog_Timechain.svg", + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +}