diff options
Diffstat (limited to 'src/displayapp/screens/List.cpp')
-rw-r--r-- | src/displayapp/screens/List.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/displayapp/screens/List.cpp b/src/displayapp/screens/List.cpp index eb53820b..064b47a6 100644 --- a/src/displayapp/screens/List.cpp +++ b/src/displayapp/screens/List.cpp @@ -98,13 +98,8 @@ List::~List() { lv_obj_clean(lv_scr_act()); } -bool List::Refresh() { - - return running; -} - void List::OnButtonEvent(lv_obj_t* object, lv_event_t event) { - if (event == LV_EVENT_RELEASED) { + if (event == LV_EVENT_CLICKED) { for (int i = 0; i < MAXLISTITEMS; i++) { if (apps[i] != Apps::None && object == itemApps[i]) { app->StartApp(apps[i], DisplayApp::FullRefreshDirections::Up); |