summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormashuptwice <info@mashup-tech.de>2022-08-31 23:21:56 +0000
committerJF <JF002@users.noreply.github.com>2022-09-17 21:29:48 +0200
commit809323df3ad6df288f5de03116e7602cb9a8435a (patch)
tree6592e57e7a25154c382bb52b2554d036036dd4a8
parentb9224c1acedf911353156cf926848b90d8f165ae (diff)
Applist is in ApplicationList.h
-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 c756a8b4..ad0f0403 100644
--- a/doc/code/Apps.md
+++ b/doc/code/Apps.md
@@ -99,7 +99,7 @@ Now, go to the function `DisplayApp::LoadApp` and add another case to the switch
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.
-If you want to add your app in the app launcher, add your app in [displayapp/screens/ApplicationList.cpp](/src/displayapp/screens/ApplicationList.cpp) to one of the `CreateScreen` functions, or add another `CreateScreen` function if there are no empty spaces for your app. If your app is a setting, do the same procedure in [displayapp/screens/settings/Settings.cpp](/src/displayapp/screens/settings/Settings.cpp).
+If you want to add your app in the app launcher, add your app in [displayapp/screens/ApplicationList.h](/src/displayapp/screens/ApplicationList.h) to the array containing the applications and their corresponding symbol. If your app is a setting, do the same procedure in [displayapp/screens/settings/Settings.h](/src/displayapp/screens/settings/Settings.h).
You should now be able to [build](../buildAndProgram.md) the firmware
and flash it to your PineTime. Yay!