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