Skip to content

Commit

Permalink
fix Settings About selection index
Browse files Browse the repository at this point in the history
  • Loading branch information
rdefeo committed Sep 19, 2024
1 parent 1bd825b commit 30892b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scenes/scene_settings.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
// of the list. Since we intend to place "About" last, it would be convenient to
// dynamically know it's list index for our on_event method. However, we'll need to
// hardcode the value..
#define SCENE_SETTINGS_ABOUT 9 // 10 items in our Settings list, so last index is 9
// TODO: Figure out a better way to do this
#define SCENE_SETTINGS_ABOUT 10 // 11 items in our Settings list, so last index is 10

static const char* const layout_text[2] = {"Vert", "Horiz"};
static const uint32_t layout_value[2] = {QUAC_APP_PORTRAIT, QUAC_APP_LANDSCAPE};
Expand Down

0 comments on commit 30892b4

Please sign in to comment.