forked from Shinonome/dots-hyprland
chore(Weather): use generic city name for default value
This commit is contained in:
@@ -45,7 +45,7 @@ Singleton {
|
|||||||
temp.sunset = data?.astronomy?.sunset || "0.0";
|
temp.sunset = data?.astronomy?.sunset || "0.0";
|
||||||
temp.windDir = data?.current?.winddir16Point || "N";
|
temp.windDir = data?.current?.winddir16Point || "N";
|
||||||
temp.wCode = data?.current?.weatherCode || "113";
|
temp.wCode = data?.current?.weatherCode || "113";
|
||||||
temp.city = data?.location?.areaName[0].value || "Istanbul";
|
temp.city = data?.location?.areaName[0]?.value || "City";
|
||||||
temp.temp = "";
|
temp.temp = "";
|
||||||
if (root.useUSCS) {
|
if (root.useUSCS) {
|
||||||
temp.wind = (data?.current?.windspeedMiles || 0) + " mph";
|
temp.wind = (data?.current?.windspeedMiles || 0) + " mph";
|
||||||
|
|||||||
Reference in New Issue
Block a user