diff options
| author | Jean-François Milants <jf@codingfield.com> | 2023-12-23 17:22:32 +0100 |
|---|---|---|
| committer | JF <JF002@users.noreply.github.com> | 2023-12-23 21:12:25 +0100 |
| commit | 6f83a3badef3e02a7f274aece8b99bdf017e54cf (patch) | |
| tree | eead27a860ee62c9210bc5d6ab914628b019ed71 /src/displayapp/screens | |
| parent | e5b73212f6addcfdb5e306df63d7135e543c4f8d (diff) | |
Simple Weather Service
Fix code formatting.
Diffstat (limited to 'src/displayapp/screens')
| -rw-r--r-- | src/displayapp/screens/WatchFacePineTimeStyle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/displayapp/screens/WatchFacePineTimeStyle.cpp b/src/displayapp/screens/WatchFacePineTimeStyle.cpp index 9885bb42..caabbc11 100644 --- a/src/displayapp/screens/WatchFacePineTimeStyle.cpp +++ b/src/displayapp/screens/WatchFacePineTimeStyle.cpp @@ -543,7 +543,7 @@ void WatchFacePineTimeStyle::Refresh() { if (currentWeather.IsUpdated()) { auto optCurrentWeather = currentWeather.Get(); if (optCurrentWeather) { - lv_label_set_text_fmt(temperature, "%d°", (optCurrentWeather->temperature)/100); + lv_label_set_text_fmt(temperature, "%d°", (optCurrentWeather->temperature) / 100); lv_label_set_text(weatherIcon, Symbols::GetSymbol(optCurrentWeather->iconId)); lv_obj_realign(temperature); lv_obj_realign(weatherIcon); |
