Add left key navigation out of newer menus.

TODO: Ripe for a base class or something.
This commit is contained in:
Jared Boone 2016-02-04 12:17:10 -08:00
parent 80b2a26213
commit 94a6d8340d

View File

@ -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 ********************************************************/