Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

πŸ› Updates the endpoint for currency flags (#1096)

Alicia Sykes665133325345
diff --git a/src/utils/MiscHelpers.js b/src/utils/MiscHelpers.js
index 11e834bc..1225ee06 100644
--- a/src/utils/MiscHelpers.js
+++ b/src/utils/MiscHelpers.js
@@ -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 */