diff options
| author | liamcharger <105521623+liamcharger@users.noreply.github.com> | 2023-12-30 01:12:44 +1030 |
|---|---|---|
| committer | JF <JF002@users.noreply.github.com> | 2023-12-30 20:09:10 +0100 |
| commit | ab8515f7660d6ac2a8cdb157e6d47f4c9b4dced7 (patch) | |
| tree | f9916b1794bc144cad9fb6069d0130d2a9afb321 /src/displayapp/screens/WatchFacePineTimeStyle.cpp | |
| parent | f17bbc38da42b1a08c94d6f9165fdccc43b13044 (diff) | |
PineTimeStyle: fix brief display of weather dummy data
Diffstat (limited to 'src/displayapp/screens/WatchFacePineTimeStyle.cpp')
| -rw-r--r-- | src/displayapp/screens/WatchFacePineTimeStyle.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/displayapp/screens/WatchFacePineTimeStyle.cpp b/src/displayapp/screens/WatchFacePineTimeStyle.cpp index 68e9bcfb..4b4da052 100644 --- a/src/displayapp/screens/WatchFacePineTimeStyle.cpp +++ b/src/displayapp/screens/WatchFacePineTimeStyle.cpp @@ -116,7 +116,7 @@ WatchFacePineTimeStyle::WatchFacePineTimeStyle(Controllers::DateTime& dateTimeCo weatherIcon = lv_label_create(lv_scr_act(), nullptr); lv_obj_set_style_local_text_color(weatherIcon, LV_LABEL_PART_MAIN, LV_STATE_DEFAULT, LV_COLOR_BLACK); lv_obj_set_style_local_text_font(weatherIcon, LV_LABEL_PART_MAIN, LV_STATE_DEFAULT, &fontawesome_weathericons); - lv_label_set_text(weatherIcon, Symbols::cloudSunRain); + lv_label_set_text(weatherIcon, Symbols::ban); lv_obj_align(weatherIcon, sidebar, LV_ALIGN_IN_TOP_MID, 0, 35); lv_obj_set_auto_realign(weatherIcon, true); if (settingsController.GetPTSWeather() == Pinetime::Controllers::Settings::PTSWeather::On) { @@ -127,6 +127,7 @@ WatchFacePineTimeStyle::WatchFacePineTimeStyle(Controllers::DateTime& dateTimeCo temperature = lv_label_create(lv_scr_act(), nullptr); lv_obj_set_style_local_text_color(temperature, LV_LABEL_PART_MAIN, LV_STATE_DEFAULT, LV_COLOR_BLACK); + lv_label_set_text(temperature, "--"); lv_obj_align(temperature, sidebar, LV_ALIGN_IN_TOP_MID, 0, 65); if (settingsController.GetPTSWeather() == Pinetime::Controllers::Settings::PTSWeather::On) { lv_obj_set_hidden(temperature, false); |
