mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-10-01 01:26:06 -04:00
Add left key navigation out of newer menus.
TODO: Ripe for a base class or something.
This commit is contained in:
parent
80b2a26213
commit
94a6d8340d
@ -133,6 +133,7 @@ TranspondersMenuView::TranspondersMenuView(NavigationView& nav) {
|
||||
{ "ERT: Utility Meters", [&nav](){ nav.push<ERTAppView>(); } },
|
||||
{ "TPMS: Cars", [&nav](){ nav.push<TPMSAppView>(); } },
|
||||
} });
|
||||
on_left = [&nav](){ nav.pop(); };
|
||||
}
|
||||
|
||||
/* ReceiverMenuView ******************************************************/
|
||||
@ -142,6 +143,7 @@ ReceiverMenuView::ReceiverMenuView(NavigationView& nav) {
|
||||
{ "Audio", [&nav](){ nav.push<AnalogAudioView>(); } },
|
||||
{ "Transponders", [&nav](){ nav.push<TranspondersMenuView>(); } },
|
||||
} });
|
||||
on_left = [&nav](){ nav.pop(); };
|
||||
}
|
||||
|
||||
/* SystemMenuView ********************************************************/
|
||||
|
Loading…
Reference in New Issue
Block a user