Discard menu item should actually discard changes

pull/996/head
Alex Baker 5 years ago
parent 65031a57ea
commit 66d4400637

@ -264,6 +264,9 @@ public final class TaskEditFragment extends InjectingFragment
if (item.getItemId() == R.id.menu_delete) { if (item.getItemId() == R.id.menu_delete) {
deleteButtonClick(); deleteButtonClick();
return true; return true;
} else if (item.getItemId() == R.id.menu_discard) {
discardButtonClick();
return true;
} }
return false; return false;

Loading…
Cancel
Save