summaryrefslogtreecommitdiff
path: root/src/displayapp/screens/List.h
diff options
context:
space:
mode:
authorMichele Bini <michele.bini@gmail.com>2022-06-03 10:23:25 (GMT)
committerMichele Bini <michele.bini@gmail.com>2022-06-07 03:20:51 (GMT)
commit8b322a66a7dc9572a9a2e13b615fdd60b054f8e9 (patch)
tree3df311293ae455428b74daa35c99eabfb92714a1 /src/displayapp/screens/List.h
parent984316be128d98aa042a7a5f96aa30cc2637b3e5 (diff)
Preallocate blocks for tiled multi-screen menus (requires C++17)
Diffstat (limited to 'src/displayapp/screens/List.h')
-rw-r--r--src/displayapp/screens/List.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/displayapp/screens/List.h b/src/displayapp/screens/List.h
index 88ef28e..d3f10a5 100644
--- a/src/displayapp/screens/List.h
+++ b/src/displayapp/screens/List.h
@@ -24,7 +24,7 @@ namespace Pinetime {
uint8_t numScreens,
DisplayApp* app,
Controllers::Settings& settingsController,
- std::array<Applications, MAXLISTITEMS>& applications);
+ const std::array<Applications, MAXLISTITEMS>& applications);
~List() override;
void OnButtonEvent(lv_obj_t* object, lv_event_t event);