Begin support for other currencies

This commit is contained in:
Djuri 2024-08-15 00:37:50 +02:00
parent b13c7242a6
commit 0a08c5f9ea
3 changed files with 115 additions and 45 deletions

View file

@ -41,7 +41,7 @@ void workerTask(void *pvParameters) {
break;
case TASK_PRICE_UPDATE: {
uint price = getPrice();
char priceSymbol = '$';
u_char priceSymbol = '$';
if (preferences.getBool("fetchEurPrice", DEFAULT_FETCH_EUR_PRICE)) {
priceSymbol = '[';
}