mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-02-02 03:06:35 +00:00
CAKE-18 | added btc to currency formatter
This commit is contained in:
parent
1055c1b539
commit
d5f707f652
1 changed files with 2 additions and 0 deletions
|
@ -4,6 +4,8 @@ String cryptoToString(CryptoCurrency crypto) {
|
||||||
switch (crypto) {
|
switch (crypto) {
|
||||||
case CryptoCurrency.xmr:
|
case CryptoCurrency.xmr:
|
||||||
return 'XMR';
|
return 'XMR';
|
||||||
|
case CryptoCurrency.btc:
|
||||||
|
return 'BTC';
|
||||||
default:
|
default:
|
||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue