Skip to content

Commit

Permalink
Show group being removed. Closes getodk#182
Browse files Browse the repository at this point in the history
  • Loading branch information
max2me committed Dec 11, 2016
1 parent 702ff4d commit f3f423c
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1714,8 +1714,6 @@ private void createDeleteRepeatConfirmDialog() {
FormController formController = Collect.getInstance()
.getFormController();

showView(new EmptyView(this), AnimationType.FADE);

mAlertDialog = new AlertDialog.Builder(this).create();
mAlertDialog.setIcon(android.R.drawable.ic_dialog_info);
String name = formController.getLastRepeatedGroupName();
Expand All @@ -1738,8 +1736,9 @@ public void onClick(DialogInterface dialog, int i) {
.logInstanceAction(this,
"createDeleteRepeatConfirmDialog", "OK");
formController.deleteRepeat();
showPreviousView();
refreshCurrentView();
break;

case DialogInterface.BUTTON_NEGATIVE: // no
Collect.getInstance()
.getActivityLogger()
Expand Down

0 comments on commit f3f423c

Please sign in to comment.