Skip to content

Commit

Permalink
🐛 Updates the endpoint for currency flags (#1096)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lissy93 committed Feb 26, 2023
1 parent 794fa57 commit 6651333
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/MiscHelpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ export const getCountryFlag = (countryCode, dimens) => {

/* Given a currency code, return path to corresponding countries flag icon */
export const getCurrencyFlag = (currency) => {
const cdn = 'https://raw.githubusercontent.com/transferwise/currency-flags';
return `${cdn}/master/src/flags/${currency.toLowerCase()}.png`;
const cdn = 'https://raw.githubusercontent.com/Lissy93/currency-flags';
return `${cdn}/master/flags_png_rectangle/${currency.toLowerCase()}.png`;
};

/* Given a Latitude & Longitude object, and optional zoom level, return link to OSM */
Expand Down

0 comments on commit 6651333

Please sign in to comment.