🐛 Updates the endpoint for currency flags (#1096)

This commit is contained in:
Alicia Sykes 2023-02-26 22:41:49 +00:00
parent 794fa57956
commit 6651333253
1 changed files with 2 additions and 2 deletions

View File

@ -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 */