diff options
author | davidpkj <davidpenkow1@gmail.com> | 2023-01-22 17:48:03 +0100 |
---|---|---|
committer | davidpkj <davidpenkow1@gmail.com> | 2023-01-22 17:48:03 +0100 |
commit | 1f6e32fae73463ed5ec110a304998d90f6dc3ac4 (patch) | |
tree | c423e1eecee8994295a07cca2ffbbfd41fdb5b06 /src/displayapp/screens/settings/SettingDisplay.cpp | |
parent | a7f8b59bfb1641dea7f30a267c6bf7e882d9edbf (diff) |
Change: colors & menu items
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); |