aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorAlex E <alex@edgeimpulse.com>2023-11-16 09:46:25 -0800
committerGitHub <noreply@github.com>2023-11-16 18:46:25 +0100
commit930284adc210d1096b2dee5b11882ece0c81c45c (patch)
tree22afd1ad05951c31b0c9bf1769b57c2475fe7d2d /doc
parent9b8eb75f3480c16408f0d85f4a478826bf167f77 (diff)
docs: Update Apps.md to remove Screen param (#1752)
This is needed since #1629. Co-authored-by: FintasticMan <finlay.neon.kid@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/code/Apps.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/code/Apps.md b/doc/code/Apps.md
index cb7cd518..190ad683 100644
--- a/doc/code/Apps.md
+++ b/doc/code/Apps.md
@@ -58,7 +58,7 @@ namespace Pinetime {
namespace Screens {
class MyApp : public Screen {
public:
- MyApp(DisplayApp* app);
+ MyApp();
~MyApp() override;
};
}
@@ -74,7 +74,7 @@ MyApp.cpp:
using namespace Pinetime::Applications::Screens;
-MyApp::MyApp(DisplayApp* app) : Screen(app) {
+MyApp::MyApp() {
lv_obj_t* title = lv_label_create(lv_scr_act(), nullptr);
lv_label_set_text_static(title, "My test application");
lv_label_set_align(title, LV_LABEL_ALIGN_CENTER);