summaryrefslogtreecommitdiff
path: root/doc/code/Apps.md
diff options
context:
space:
mode:
authorTailyFair <kalzanauskas@gmail.com>2023-01-18 18:04:27 +0200
committerRiku Isokoski <riksu9000@gmail.com>2023-01-22 09:08:06 +0200
commit762d52e114e02ef490e7b30a28f99d8b6b880404 (patch)
treec18574d75ce125f68aeb50cbce07e12a4ce50100 /doc/code/Apps.md
parent4b75605412cad8d73b3992243c2b85ff1d386558 (diff)
Fix Apps documentation DisplayApp method name
Diffstat (limited to 'doc/code/Apps.md')
-rw-r--r--doc/code/Apps.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/code/Apps.md b/doc/code/Apps.md
index ad0f0403..cb7cd518 100644
--- a/doc/code/Apps.md
+++ b/doc/code/Apps.md
@@ -95,7 +95,7 @@ in the compilation by adding it to [CMakeLists.txt](/CMakeLists.txt).
The next step to making it launchable is to give your app an id.
To do this, add an entry in the enum class `Pinetime::Applications::Apps` ([displayapp/Apps.h](/src/displayapp/Apps.h)).
Name this entry after your app. Add `#include "displayapp/screens/MyApp.h"` to the file [displayapp/DisplayApp.cpp](/src/displayapp/DisplayApp.cpp).
-Now, go to the function `DisplayApp::LoadApp` and add another case to the switch statement.
+Now, go to the function `DisplayApp::LoadScreen` and add another case to the switch statement.
The case will be the id you gave your app earlier.
If your app needs any additional arguments, this is the place to pass them.