Add support for 24 new fiat currencies and gold

This commit is contained in:
Reckless_Satoshi 2022-02-28 11:20:53 -08:00
parent 3df2f58a35
commit a4a76d1d9f
No known key found for this signature in database
GPG Key ID: 9C4585B561315571
3 changed files with 51 additions and 1 deletions

View File

@ -38,6 +38,31 @@ export default function getFlags(code){
if(code == 'UYU') return '🇺🇾'; if(code == 'UYU') return '🇺🇾';
if(code == 'PYG') return '🇵🇾'; if(code == 'PYG') return '🇵🇾';
if(code == 'BOB') return '🇧🇴'; if(code == 'BOB') return '🇧🇴';
if(code == 'IDR') return '🇮🇩';
if(code == 'ANG') return '🇧🇶';
if(code == 'CRC') return '🇨🇷';
if(code == 'CUP') return '🇨🇺';
if(code == 'DOP') return '🇩🇴';
if(code == 'GHS') return '🇬🇭';
if(code == 'GTQ') return '🇬🇹';
if(code == 'ILS') return '🇮🇱';
if(code == 'JMD') return '🇯🇲';
if(code == 'KES') return '🇰🇪';
if(code == 'KZT') return '🇰🇿';
if(code == 'MYR') return '🇲🇲';
if(code == 'NAD') return '🇳🇦';
if(code == 'NGN') return '🇳🇬';
if(code == 'AZN') return '🇦🇿';
if(code == 'PAB') return '🇵🇦';
if(code == 'PHP') return '🇵🇭';
if(code == 'PKR') return '🇵🇰';
if(code == 'QAR') return '🇶🇦';
if(code == 'SAR') return '🇸🇦';
if(code == 'THB') return '🇹🇭';
if(code == 'TTD') return '🇹🇹';
if(code == 'VND') return '🇻🇳';
if(code == 'XOF') return '🇸🇳';
if(code == 'XAU') return '🟨';
if(code == 'BTC') return <SwapCallsIcon color="primary"/>; if(code == 'BTC') return <SwapCallsIcon color="primary"/>;
return '🏳'; return '🏳';
}; };

View File

@ -35,5 +35,30 @@
"34":"UYU", "34":"UYU",
"35":"PYG", "35":"PYG",
"36":"BOB", "36":"BOB",
"37":"IDR",
"38":"ANG",
"39":"CRC",
"40":"CUP",
"41":"DOP",
"42":"GHS",
"43":"GTQ",
"44":"ILS",
"45":"JMD",
"46":"KES",
"47":"KZT",
"48":"MYR",
"49":"NAD",
"50":"NGN",
"51":"AZN",
"52":"PAB",
"53":"PHP",
"54":"PKR",
"55":"QAR",
"56":"SAR",
"57":"THB",
"58":"TTD",
"59":"VND",
"60":"XOF",
"300":"XAU",
"1000":"BTC" "1000":"BTC"
} }

File diff suppressed because one or more lines are too long