Merge pull request #20 from cake-tech/CWA-160-add-contact-book-option-for-new-currencies

Cwa 160 add contact book option for new currencies
This commit is contained in:
M 2020-01-24 20:45:32 +01:00
commit e28a6b0a1b

View file

@ -178,13 +178,13 @@ class AddressBookPage extends BasePage {
color = Palette.cakeGreenWithOpacity; color = Palette.cakeGreenWithOpacity;
break; break;
case CryptoCurrency.ada: case CryptoCurrency.ada:
color = Colors.blueGrey[700]; color = Colors.blue[200];
break; break;
case CryptoCurrency.bch: case CryptoCurrency.bch:
color = Colors.orangeAccent; color = Colors.orangeAccent;
break; break;
case CryptoCurrency.bnb: case CryptoCurrency.bnb:
color = Colors.yellow; color = Colors.blue;
break; break;
case CryptoCurrency.btc: case CryptoCurrency.btc:
color = Colors.orange; color = Colors.orange;
@ -193,7 +193,7 @@ class AddressBookPage extends BasePage {
color = Colors.blue; color = Colors.blue;
break; break;
case CryptoCurrency.eos: case CryptoCurrency.eos:
color = Colors.deepPurple; color = Colors.orangeAccent;
break; break;
case CryptoCurrency.eth: case CryptoCurrency.eth:
color = Colors.black; color = Colors.black;
@ -202,19 +202,19 @@ class AddressBookPage extends BasePage {
color = Colors.blue[200]; color = Colors.blue[200];
break; break;
case CryptoCurrency.nano: case CryptoCurrency.nano:
color = Colors.blue[900]; color = Colors.orange;
break; break;
case CryptoCurrency.trx: case CryptoCurrency.trx:
color = Colors.red; color = Colors.black;
break; break;
case CryptoCurrency.usdt: case CryptoCurrency.usdt:
color = Colors.teal; color = Colors.blue[200];
break; break;
case CryptoCurrency.xlm: case CryptoCurrency.xlm:
color = Colors.grey[100]; color = color = Colors.blue;
break; break;
case CryptoCurrency.xrp: case CryptoCurrency.xrp:
color = Colors.blueAccent; color = Colors.orangeAccent;
break; break;
default: default:
color = Colors.white; color = Colors.white;
@ -229,14 +229,10 @@ class AddressBookPage extends BasePage {
color = Palette.cakeGreen; color = Palette.cakeGreen;
break; break;
case CryptoCurrency.ltc: case CryptoCurrency.ltc:
case CryptoCurrency.ada:
case CryptoCurrency.usdt:
color = Palette.lightBlue; color = Palette.lightBlue;
break; break;
case CryptoCurrency.xlm:
color = Colors.blueAccent;
break;
case CryptoCurrency.xrp:
color = Colors.black;
break;
default: default:
color = Colors.white; color = Colors.white;
} }