Author: Alex E <alex@edgeimpulse.com>
docs: Update Apps.md to remove Screen param (#1752) This is needed since #1629. Co-authored-by: FintasticMan <finlay.neon.kid@gmail.com>
doc/code/Apps.md | 4 ++--
diff --git a/doc/code/Apps.md b/doc/code/Apps.md index cb7cd518034dbf10aa776f3cf55b0b63c0ce92af..190ad683854f340613ec9198442d4b9f0c5620ac 100644 --- a/doc/code/Apps.md +++ b/doc/code/Apps.md @@ -58,7 +58,7 @@ namespace Applications { namespace Screens { class MyApp : public Screen { public: - MyApp(DisplayApp* app); + MyApp(); ~MyApp() override; }; } @@ -74,7 +74,7 @@ #include "displayapp/DisplayApp.h" 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);