Browse Source

Fix weather icon

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/33702/head
Joas Schilling 3 years ago
parent
commit
f53cac1b32
No known key found for this signature in database GPG Key ID: 74434EFE0D2E2205
  1. 7
      apps/weather_status/src/App.vue
  2. 4
      dist/weather_status-weather-status.js
  3. 2
      dist/weather_status-weather-status.js.map

7
apps/weather_status/src/App.vue

@ -504,9 +504,9 @@ export default {
if (loading) {
return 'icon-loading-small'
} else {
return weatherCode && weatherCode in weatherOptions
return 'icon-weather ' + (weatherCode && weatherCode in weatherOptions
? weatherOptions[weatherCode].icon
: 'icon-fair-day'
: 'icon-fair-day')
}
},
getWeatherMessage(weatherCode, temperature, later = false) {
@ -523,6 +523,9 @@ export default {
</script>
<style lang="scss">
.icon-weather {
background-size: 16px;
}
.icon-weather-status {
background-image: url('./../img/app-dark.svg');
}

4
dist/weather_status-weather-status.js
File diff suppressed because it is too large
View File

2
dist/weather_status-weather-status.js.map
File diff suppressed because it is too large
View File

Loading…
Cancel
Save