Skip to content

Commit

Permalink
Add bd taka to available currencies (RoboSats#659)
Browse files Browse the repository at this point in the history
* add bd to worldflags

* added bdt to currencies.json
  • Loading branch information
dapsavoie committed Jun 12, 2023
1 parent 054e836 commit 8b7ab0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/components/Icons/WorldFlags.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ const FlagWithProps = ({ code, width = '1.428em', height = '1.428em' }: Props):
if (code === 'UGX') flag = <Flags.UG {...defaultProps} />;
if (code === 'RSD') flag = <Flags.RS {...defaultProps} />;
if (code === 'IRT') flag = <Flags.IR {...defaultProps} />;
if (code === 'BDT') flag = <Flags.BD {...defaultProps} />;
if (code === 'ANY') flag = <EarthIcon {...defaultProps} />;
if (code === 'XAU') flag = <GoldIcon {...defaultProps} />;
if (code === 'BTC') flag = <SwapCallsIcon color='primary' />;
Expand Down
1 change: 1 addition & 0 deletions frontend/static/assets/currencies.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
"72": "UGX",
"73": "RSD",
"74": "IRT",
"75": "BDT",
"300": "XAU",
"1000": "BTC"
}

0 comments on commit 8b7ab0e

Please sign in to comment.