mirror of
https://github.com/Lissy93/dashy.git
synced 2024-11-27 10:26:00 +03:00
🐛 Updates the endpoint for currency flags (#1096)
This commit is contained in:
parent
794fa57956
commit
6651333253
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user