From 51d9d9e7cd549bd0f1efadadaec6cdf60f367ba0 Mon Sep 17 00:00:00 2001 From: PranshulGG Date: Wed, 17 Jul 2024 20:13:33 +0530 Subject: [PATCH] 1.2.4 updated --- app/src/main/assets/app/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/assets/app/app.js b/app/src/main/assets/app/app.js index 37566f544..a700200f1 100644 --- a/app/src/main/assets/app/app.js +++ b/app/src/main/assets/app/app.js @@ -319,7 +319,7 @@ function getWeather(city, latitude, longitude) { document.getElementById('AmountRainMM').innerHTML = `0.0 mm` } - document.getElementById('currentLocationName').textContent = `${cityName}, ${countryName}`; + document.getElementById('currentLocationName').textContent = `${cityName}, ${countryNameText}`; document.getElementById('currentSearchImg').src = `weather-icons/${iconCode}.svg`; document.getElementById('description').textContent = description; @@ -736,7 +736,7 @@ function getWeatherByCoordinates(latitude, longitude) { document.getElementById('AmountRainMM').innerHTML = `0.0 mm` } - document.getElementById('currentLocationName').textContent = `${cityName}, ${countryName}`; + document.getElementById('currentLocationName').textContent = `${cityName}, ${countryNameText}`; document.getElementById('currentSearchImg').src = `weather-icons/${iconCode}.svg`;