add menue item

This commit is contained in:
Дмитрий Марков 2022-01-12 22:08:07 +05:00
parent 4c5847669f
commit 728830178f
No known key found for this signature in database
GPG Key ID: 49CFEE49DBF77352
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ namespace {
} }
} }
constexpr std::array<const char*, 3> SettingWatchFace::options; constexpr std::array<const char*, 4> SettingWatchFace::options;
SettingWatchFace::SettingWatchFace(Pinetime::Applications::DisplayApp* app, Pinetime::Controllers::Settings& settingsController) SettingWatchFace::SettingWatchFace(Pinetime::Applications::DisplayApp* app, Pinetime::Controllers::Settings& settingsController)
: Screen(app), settingsController {settingsController} { : Screen(app), settingsController {settingsController} {

View File

@ -20,7 +20,7 @@ namespace Pinetime {
void UpdateSelected(lv_obj_t* object, lv_event_t event); void UpdateSelected(lv_obj_t* object, lv_event_t event);
private: private:
static constexpr std::array<const char*, 3> options = {" Digital face", " Analog face", " PineTimeStyle"}; static constexpr std::array<const char*, 4> options = {" Digital face", " Analog face", " PineTimeStyle", " Terminal"};
Controllers::Settings& settingsController; Controllers::Settings& settingsController;
lv_obj_t* cbOption[options.size()]; lv_obj_t* cbOption[options.size()];