summaryrefslogtreecommitdiff
path: root/src/displayapp/screens/List.cpp
diff options
context:
space:
mode:
authorRiku Isokoski <riksu9000@gmail.com>2022-04-09 10:37:31 (GMT)
committerRiku Isokoski <riksu9000@gmail.com>2022-04-25 12:59:43 (GMT)
commit54df828665b135aa5e49a2e182bad59d2d705039 (patch)
tree7e3f382ea2e85abbe6be9e2ef77d25c01ea0b55e /src/displayapp/screens/List.cpp
parentb7b1af1c4c3c21f62bf9627d39a37924be541c16 (diff)
Fix warnings
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 7d8a141..ffc6215 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,