Rearange long enter menu (#3614)

* Rearange long enter menu

* Remove duplicate
This commit is contained in:
3djc
2016-06-19 14:26:53 +02:00
committed by Bertrand Songis
parent 0c49f35687
commit a26c5461ab
14 changed files with 23 additions and 7 deletions
+4 -1
View File
@@ -113,6 +113,9 @@ void onMainViewMenu(const char *result)
else if (result == STR_ABOUT_US) {
chainMenu(menuAboutView);
}
else if (result == STR_MONITOR_SCREENS) {
pushMenu(menuTabMonitors[lastMonitorPage]);
}
}
int getMainViewsCount()
@@ -140,9 +143,9 @@ bool menuMainView(evt_t event)
if (modelHasNotes()) {
POPUP_MENU_ADD_ITEM(STR_VIEW_NOTES);
}
POPUP_MENU_ADD_ITEM(STR_MONITOR_SCREENS);
POPUP_MENU_ADD_ITEM(STR_RESET_SUBMENU);
POPUP_MENU_ADD_ITEM(STR_STATISTICS);
POPUP_MENU_ADD_ITEM(STR_SETUP_SCREENS);
POPUP_MENU_ADD_ITEM(STR_ABOUT_US);
POPUP_MENU_START(onMainViewMenu);
break;