From 6f83a3badef3e02a7f274aece8b99bdf017e54cf Mon Sep 17 00:00:00 2001 From: Jean-François Milants Date: Sat, 23 Dec 2023 17:22:32 +0100 Subject: Simple Weather Service Fix code formatting. --- src/displayapp/screens/WatchFacePineTimeStyle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/displayapp/screens') 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); -- cgit v1.2.3-70-g09d2