Refresh weather display when debug units dropdown changes
This commit is contained in:
1 parent
661542117c
commit
5e9ddd8590
1 file changed
+2
@@ -1492,6 +1492,8 @@ window.weatherThemes = {
|
|||||||
|
|
||||||
function setDebugUnits(units) {
|
function setDebugUnits(units) {
|
||||||
window.CONFIG.units = units;
|
window.CONFIG.units = units;
|
||||||
|
// Refresh weather to display new units
|
||||||
|
if (typeof fetchWeather === 'function') fetchWeather();
|
||||||
}
|
}
|
||||||
|
|
||||||
function updateDebug(t, palette, vantaColors, themeName, realDayProgress) {
|
function updateDebug(t, palette, vantaColors, themeName, realDayProgress) {
|
||||||
|
|||||||
Reference in new issue
Block a user