mirror of
https://github.com/InfiniTimeOrg/InfiniTime.git
synced 2024-10-22 15:11:51 +02:00
Fix code formatting with 'clang-format'
This commit is contained in:
parent
3341247788
commit
b30f6c07b9
|
@ -147,7 +147,11 @@ void WatchFaceTerminal::Refresh() {
|
||||||
temp = Controllers::SimpleWeatherService::CelsiusToFahrenheit(temp);
|
temp = Controllers::SimpleWeatherService::CelsiusToFahrenheit(temp);
|
||||||
tempUnit = 'F';
|
tempUnit = 'F';
|
||||||
}
|
}
|
||||||
lv_label_set_text_fmt(weather, "#ffffff [WTHR]# %i°%c %s ", temp / 100, tempUnit, Symbols::GetSimpleCondition(optCurrentWeather->iconId));
|
lv_label_set_text_fmt(weather,
|
||||||
|
"#ffffff [WTHR]# %i°%c %s ",
|
||||||
|
temp / 100,
|
||||||
|
tempUnit,
|
||||||
|
Symbols::GetSimpleCondition(optCurrentWeather->iconId));
|
||||||
} else {
|
} else {
|
||||||
lv_label_set_text(weather, "#ffffff [WTHR]# ---");
|
lv_label_set_text(weather, "#ffffff [WTHR]# ---");
|
||||||
lv_obj_set_style_local_text_color(weather, LV_LABEL_PART_MAIN, LV_STATE_DEFAULT, Colors::gray);
|
lv_obj_set_style_local_text_color(weather, LV_LABEL_PART_MAIN, LV_STATE_DEFAULT, Colors::gray);
|
||||||
|
|
Loading…
Reference in a new issue