Disable drawer to understand minuses and pluses of dashboard

This commit is contained in:
Victor Shcherb 2015-03-10 01:15:52 +01:00
parent 6c14e8d6b1
commit 623cd7b72f

View file

@ -261,7 +261,8 @@ public class DashboardOnMap {
protected boolean onOptionsItemSelected(MenuItem item) { protected boolean onOptionsItemSelected(MenuItem item) {
setDashboardVisibility(false); setDashboardVisibility(false);
if(item.getItemId() == LIST_ID) { if(item.getItemId() == LIST_ID) {
getMyApplication().getSettings().USE_DASHBOARD_INSTEAD_OF_DRAWER.set(false); // temporarily disable drawer
// getMyApplication().getSettings().USE_DASHBOARD_INSTEAD_OF_DRAWER.set(false);
mapActivity.getMapActions().toggleDrawer(); mapActivity.getMapActions().toggleDrawer();
} else if(item.getItemId() == DIRECTIONS_ID) { } else if(item.getItemId() == DIRECTIONS_ID) {
navigationAction(); navigationAction();