summaryrefslogtreecommitdiff
path: root/src/displayapp/screens/List.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/displayapp/screens/List.cpp')
-rw-r--r--src/displayapp/screens/List.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/displayapp/screens/List.cpp b/src/displayapp/screens/List.cpp
index 7d8a1415..ffc62150 100644
--- a/src/displayapp/screens/List.cpp
+++ b/src/displayapp/screens/List.cpp
@@ -5,11 +5,10 @@
using namespace Pinetime::Applications::Screens;
namespace {
- static void ButtonEventHandler(lv_obj_t* obj, lv_event_t event) {
- List* screen = static_cast<List*>(obj->user_data);
+ void ButtonEventHandler(lv_obj_t* obj, lv_event_t event) {
+ auto* screen = static_cast<List*>(obj->user_data);
screen->OnButtonEvent(obj, event);
}
-
}
List::List(uint8_t screenID,