diff options
author | davidpkj <davidpenkow1@gmail.com> | 2023-01-24 21:24:28 +0100 |
---|---|---|
committer | davidpkj <davidpenkow1@gmail.com> | 2023-01-24 21:24:28 +0100 |
commit | c95a80f4e46e2942bf295ae17f4c7eae27e8495b (patch) | |
tree | 5fc23d3be1352c048cf39bcfeca33e5cef498e75 /src/displayapp/screens/settings/SettingDisplay.cpp | |
parent | a3e14c012d76fc8f7ad4c16ad9dc67e8995ce10e (diff) | |
parent | 52f3310d0077a352ade7e1f9df6a1d201ee0c631 (diff) |
merged ui-cleaning into develop
Diffstat (limited to 'src/displayapp/screens/settings/SettingDisplay.cpp')
-rw-r--r-- | src/displayapp/screens/settings/SettingDisplay.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/displayapp/screens/settings/SettingDisplay.cpp b/src/displayapp/screens/settings/SettingDisplay.cpp index e044a85a..01087da4 100644 --- a/src/displayapp/screens/settings/SettingDisplay.cpp +++ b/src/displayapp/screens/settings/SettingDisplay.cpp @@ -5,6 +5,7 @@ #include "displayapp/screens/Styles.h" #include "displayapp/screens/Screen.h" #include "displayapp/screens/Symbols.h" +#include "displayapp/InfiniTimeTheme.h" using namespace Pinetime::Applications::Screens; @@ -38,7 +39,7 @@ SettingDisplay::SettingDisplay(Pinetime::Applications::DisplayApp* app, Pinetime lv_obj_align(title, lv_scr_act(), LV_ALIGN_IN_TOP_MID, 10, 15); lv_obj_t* icon = lv_label_create(lv_scr_act(), nullptr); - lv_obj_set_style_local_text_color(icon, LV_LABEL_PART_MAIN, LV_STATE_DEFAULT, LV_COLOR_ORANGE); + lv_obj_set_style_local_text_color(icon, LV_LABEL_PART_MAIN, LV_STATE_DEFAULT, Colors::primary); lv_label_set_text_static(icon, Symbols::sun); lv_label_set_align(icon, LV_LABEL_ALIGN_CENTER); lv_obj_align(icon, title, LV_ALIGN_OUT_LEFT_MID, -10, 0); |