Updated Create a Simple App (markdown)

E.T 2024-01-22 15:35:29 +01:00
parent 00734dff52
commit 1e6c312177

@ -71,12 +71,12 @@ For triggering your new app, you need to add an entry on the main menu. This men
...
// Adding NewApp to the Transmitters Menu
TransmittersMenuView::TransmittersMenuView(NavigationView& nav) {
const NavigationView::AppList NavigationView::appList = {
add_items({
...
{ "NewApp", ui::Color::red(), &bitmap_icon_remote, [&nav](){ nav.push<NewAppView>(); } },
{"newapp", "NewApp", TX, Color::red(), &bitmap_icon_remote, new ViewFactory<NewAppView>()},
});
}
```