Fixed a bug where tablet back button wouldn't fully dismiss the task edit screen

pull/14/head
Sam Bosley 12 years ago
parent 3e4a938199
commit 6e0de0a375

@ -699,6 +699,10 @@ public class TaskListActivity extends AstridActivity implements MainMenuListener
mainMenuPopover.suppressNextKeyEvent();
mainMenu.performClick();
return true;
} else if (keyCode == KeyEvent.KEYCODE_BACK) {
TaskEditFragment tef = getTaskEditFragment();
if (tef != null && tef.onKeyDown(keyCode))
return true;
}
return super.onKeyDown(keyCode, event);
}

Loading…
Cancel
Save