aboutsummaryrefslogtreecommitdiffstats
path: root/src/displayapp/screens/List.cpp
diff options
context:
space:
mode:
authorhubmartin <hub.martin@gmail.com>2021-09-16 22:04:31 +0200
committerhubmartin <hub.martin@gmail.com>2021-09-16 22:04:31 +0200
commit27366bdfdf05a5fd3128ad8eabedbeba720ca885 (patch)
tree94bf7fe9e60c7c88d269e207acb197915eb98660 /src/displayapp/screens/List.cpp
parentdb50131ed49f2fdb639799ca12839862340f8396 (diff)
parent3eb73774a39e255cd4b5de76441a59f1525a989c (diff)
Merge branch 'develop' into wake-time
Diffstat (limited to 'src/displayapp/screens/List.cpp')
-rw-r--r--src/displayapp/screens/List.cpp7
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);