Simplify AppList (#271)

Remove categories, disable HelloWorld app
This commit is contained in:
Ken Van Hoeylandt 2025-04-03 23:06:54 +02:00 committed by GitHub
parent a7c5d6a2ee
commit b2d4dc5ecb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 11 deletions

View File

@ -5,7 +5,7 @@
#include "tt_init.h"
#endif
extern const tt::app::AppManifest hello_world_app;
// extern const tt::app::AppManifest hello_world_app;
extern "C" {
@ -17,7 +17,7 @@ void app_main() {
*/
.hardware = TT_BOARD_HARDWARE,
.apps = {
&hello_world_app,
// &hello_world_app,
}
};

View File

@ -43,16 +43,8 @@ public:
auto manifests = getApps();
std::sort(manifests.begin(), manifests.end(), SortAppManifestByName);
lv_list_add_text(list, "User");
for (const auto& manifest: manifests) {
if (manifest->type == Type::User) {
createAppWidget(manifest, list);
}
}
lv_list_add_text(list, "System");
for (const auto& manifest: manifests) {
if (manifest->type == Type::System) {
if (manifest->type == Type::User || manifest->type == Type::System) {
createAppWidget(manifest, list);
}
}