Introduce ICON_DEFAULT_HOST (#207)

This commit is contained in:
Jaco Greeff
2019-09-13 14:46:21 +02:00
committed by GitHub
parent cde5b61b33
commit d0ef98b18e
4 changed files with 10 additions and 6 deletions
+5 -2
View File
@@ -42,7 +42,9 @@ const UITHEMES: Option[] = [
}
];
const ICON_DEFAULT = isPolkadot
const ICON_DEFAULT = 'default';
const ICON_DEFAULT_HOST = isPolkadot
? 'polkadot'
: 'substrate';
@@ -50,7 +52,7 @@ const ICONS: Option[] = [
{
info: 'default',
text: 'Default for the connected node',
value: -1
value: 'default'
},
{
info: 'polkadot',
@@ -71,6 +73,7 @@ const ICONS: Option[] = [
export {
ICON_DEFAULT,
ICON_DEFAULT_HOST,
ICONS,
LANGUAGE_DEFAULT,
UIMODE_DEFAULT,