summaryrefslogtreecommitdiff
path: root/src/displayapp/screens/Screen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/displayapp/screens/Screen.cpp')
-rw-r--r--src/displayapp/screens/Screen.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/displayapp/screens/Screen.cpp b/src/displayapp/screens/Screen.cpp
index 1467df33..6ae5b7bb 100644
--- a/src/displayapp/screens/Screen.cpp
+++ b/src/displayapp/screens/Screen.cpp
@@ -1,2 +1,6 @@
#include "Screen.h"
-using namespace Pinetime::Applications::Screens; \ No newline at end of file
+using namespace Pinetime::Applications::Screens;
+
+void Screen::RefreshTaskCallback(lv_task_t* task) {
+ static_cast<Screen*>(task->user_data)->Refresh();
+}