mirror of
https://github.com/Lissy93/dashy.git
synced 2025-07-28 08:04:46 +02:00
👽️ Updates path to currency-flag assets
Data fetched from: https://github.com/Lissy93/currency-flags
This commit is contained in:
parent
27b835258c
commit
45e06d2e66
@ -65,7 +65,7 @@ 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/Lissy93/currency-flags';
|
||||
return `${cdn}/master/flags_png_rectangle/${currency.toLowerCase()}.png`;
|
||||
return `${cdn}/master/assets/flags_png_rectangle/${currency.toLowerCase()}.png`;
|
||||
};
|
||||
|
||||
/* Given a Latitude & Longitude object, and optional zoom level, return link to OSM */
|
||||
|
Loading…
x
Reference in New Issue
Block a user