chore(WeatherService): rename to Weather

This commit is contained in:
Hasan A. Tekeoğlu
2025-07-01 12:57:14 +03:00
parent b982c788fe
commit c94231365f
3 changed files with 11 additions and 11 deletions
@@ -33,7 +33,7 @@ Item {
MaterialSymbol { MaterialSymbol {
fill: 0 fill: 0
text: WeatherIcons.codeToName[WeatherService.data.wCode] text: WeatherIcons.codeToName[Weather.data.wCode]
iconSize: Appearance.font.pixelSize.large iconSize: Appearance.font.pixelSize.large
color: Appearance.colors.colOnLayer1 color: Appearance.colors.colOnLayer1
} }
@@ -42,7 +42,7 @@ Item {
visible: true visible: true
font.pixelSize: Appearance.font.pixelSize.large font.pixelSize: Appearance.font.pixelSize.large
color: Appearance.colors.colOnLayer1 color: Appearance.colors.colOnLayer1
text: WeatherService.data.temp text: Weather.data.temp
} }
} }
} }
@@ -34,7 +34,7 @@ Rectangle {
} }
StyledText { StyledText {
text: WeatherService.data.city text: Weather.data.city
font.pixelSize: Appearance.font.pixelSize.title font.pixelSize: Appearance.font.pixelSize.title
font.family: Appearance.font.family.title font.family: Appearance.font.family.title
color: Appearance.colors.colOnLayer0 color: Appearance.colors.colOnLayer0
@@ -52,42 +52,42 @@ Rectangle {
WeatherCard { WeatherCard {
title: "UV Index" title: "UV Index"
symbol: "wb_sunny" symbol: "wb_sunny"
value: WeatherService.data.uv value: Weather.data.uv
} }
WeatherCard { WeatherCard {
title: "Wind" title: "Wind"
symbol: "air" symbol: "air"
value: `(${WeatherService.data.windDir}) ${WeatherService.data.wind}` value: `(${Weather.data.windDir}) ${Weather.data.wind}`
} }
WeatherCard { WeatherCard {
title: "Precipitation" title: "Precipitation"
symbol: "rainy_light" symbol: "rainy_light"
value: WeatherService.data.precip value: Weather.data.precip
} }
WeatherCard { WeatherCard {
title: "Humidity" title: "Humidity"
symbol: "humidity_low" symbol: "humidity_low"
value: WeatherService.data.humidity value: Weather.data.humidity
} }
WeatherCard { WeatherCard {
title: "Visibility" title: "Visibility"
symbol: "visibility" symbol: "visibility"
value: WeatherService.data.visib value: Weather.data.visib
} }
WeatherCard { WeatherCard {
title: "Pressure" title: "Pressure"
symbol: "readiness_score" symbol: "readiness_score"
value: WeatherService.data.press value: Weather.data.press
} }
WeatherCard { WeatherCard {
title: "Sunrise" title: "Sunrise"
symbol: "wb_twilight" symbol: "wb_twilight"
value: WeatherService.data.sunrise value: Weather.data.sunrise
} }
WeatherCard { WeatherCard {
title: "Sunset" title: "Sunset"
symbol: "bedtime" symbol: "bedtime"
value: WeatherService.data.sunset value: Weather.data.sunset
} }
} }
} }